|
|
|
@ -4451,11 +4451,19 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
//保存处理节点
|
|
|
|
handleProcessEntity.setState(ItemHandleCategoryEnum.HANDLE_I_HANDLE_CHECK_APPLY.getValue()); |
|
|
|
itemHandleProcessService.insert(handleProcessEntity); |
|
|
|
|
|
|
|
// 删除已流转协助部门
|
|
|
|
itemDeptService.modifyItemDepts(deptId, formDTO.getId()); |
|
|
|
// 新增流转协助部门
|
|
|
|
ItemHandleSubmitFormDTO dto = ConvertUtils.sourceToTarget(formDTO, ItemHandleSubmitFormDTO.class); |
|
|
|
// 手动拼接流转协助部门
|
|
|
|
ItemCirculationDeptResultDTO itemCirculationDeptResultDTO = new ItemCirculationDeptResultDTO(); |
|
|
|
itemCirculationDeptResultDTO.setDeptId(dept.getData().getPid()); |
|
|
|
itemCirculationDeptResultDTO.setDeptName(dept.getData().getParentName()); |
|
|
|
itemCirculationDeptResultDTO.setSelected(false); |
|
|
|
itemCirculationDeptResultDTO.setTypeKey(dept.getData().getTypeKey()); |
|
|
|
List<ItemCirculationDeptResultDTO> deptList = new ArrayList<>(); |
|
|
|
deptList.add(itemCirculationDeptResultDTO); |
|
|
|
dto.setDeptResultDTOS(deptList); |
|
|
|
itemDeptService.saveItemDepts(dto.getHandlerDeptId(), dto, handleProcessEntity.getId()); |
|
|
|
|
|
|
|
//上报市平台
|
|
|
|
|