| | |
| | | conditionMap.put("f_btwname", workitemBtmType); |
| | | }else if(StringUtils.isNotBlank(processOid)){ |
| | | //实际上传递的是executionid |
| | | conditionMap.put("f_oid", "\\IN(select oid from platformbtm_" + workIntanceBtmType + " where executionid = '" + processOid.trim() + "')"); |
| | | conditionMap.put("f_oid", "\\IN(select oid from pbt_" + workIntanceBtmType + " where executionid = '" + processOid.trim() + "')"); |
| | | conditionMap.put("f_btwname", workIntanceBtmType); |
| | | } |
| | | return getData(taskDataLink,conditionMap,referColumns); |
| | |
| | | conditionMap.put("f_oid", taskOid.trim()); |
| | | conditionMap.put("f_btwname", getWorkitemBtmType()); |
| | | }else if(StringUtils.isNotBlank(executionid)){ |
| | | conditionMap.put("f_oid", "\\IN(select oid from platformbtm_" + getWorkIntanceBtmType() + " where executionid = '" + executionid.trim() + "')"); |
| | | conditionMap.put("f_oid", "\\IN(select oid from pbt_" + getWorkIntanceBtmType() + " where executionid = '" + executionid.trim() + "')"); |
| | | conditionMap.put("f_btwname", getWorkIntanceBtmType()); |
| | | } |
| | | return loService.queryCLO(taskDataLink, conditionMap); |
| | |
| | | public DataGrid getDataByProcess(String executionId,String referColumns) throws VciBaseException{ |
| | | WebUtil.alertNotNull(executionId,"流程执行ID"); |
| | | Map<String,String> conditionMap = new HashMap<String, String>(); |
| | | conditionMap.put("f_oid","\\IN(select oid from platformbtm_" +getWorkIntanceBtmType() + " where executionid='" + executionId.trim() + "')"); |
| | | conditionMap.put("f_oid","\\IN(select oid from pbt_" +getWorkIntanceBtmType() + " where executionid='" + executionId.trim() + "')"); |
| | | conditionMap.put("f_btwname", getWorkIntanceBtmType()); |
| | | return getData(processDataLink,conditionMap,referColumns); |
| | | } |
| | |
| | | @Override |
| | | public List<ProcessInstanceVO> listExecutingProcessByBussinessOid(String bussinessOid, String btmName) throws VciBaseException { |
| | | Map<String,String> conditionMap = new HashMap<String, String>(); |
| | | conditionMap.put("oid",QueryOptionConstant.IN + "(select f_oid from platformlt_" + getTaskDataLink() + " where f_btwname='" + getWorkIntanceBtmType() + "' " + |
| | | conditionMap.put("oid",QueryOptionConstant.IN + "(select f_oid from plt_" + getTaskDataLink() + " where f_btwname='" + getWorkIntanceBtmType() + "' " + |
| | | " and t_btwname='" + btmName + "' and t_oid = '" + bussinessOid + "' )"); |
| | | conditionMap.put("lcstatus","Executing"); |
| | | List<ProcessInstance> processInstances = boService.queryObject(ProcessInstance.class,conditionMap); |