| | |
| | | String business_key = pi.getBusinessKey(); |
| | | appIyIds.add(business_key); |
| | | taskBusinessKeyMap.put(business_key, task.getId()); |
| | | taskBusinessKeyMap.put(business_key+"_ProcessDefinitionKey", pi.getProcessDefinitionKey()); |
| | | } |
| | | |
| | | if (appIyIds == null || appIyIds.size() == 0) { |
| | |
| | | List<AllocationStorehouseApplyDto> tmpAllocationStorehouseApplyDtos = allocationStorehouseApplyInnerServiceSMOImpl.queryAllocationStorehouseApplys(allocationStorehouseApplyDto); |
| | | for (AllocationStorehouseApplyDto tmpAllocationStorehouseApplyDto : tmpAllocationStorehouseApplyDtos) { |
| | | tmpAllocationStorehouseApplyDto.setTaskId(taskBusinessKeyMap.get(tmpAllocationStorehouseApplyDto.getApplyId())); |
| | | tmpAllocationStorehouseApplyDto.setProcessDefinitionKey(taskBusinessKeyMap.get(tmpAllocationStorehouseApplyDto.getApplyId()+"_ProcessDefinitionKey")); |
| | | } |
| | | return tmpAllocationStorehouseApplyDtos; |
| | | } |