|
|
@ -320,6 +320,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
itemHandleResultDTO.setProcessResult(ItemHandleCategoryEnum.HANDLE_I_HANDLE.getValue()); |
|
|
|
itemHandleResultDTO.setProcessName(ItemHandleCategoryEnum.HANDLE_I_HANDLE.getName()); |
|
|
|
itemHandleResultDTO.setSelect(false); |
|
|
|
itemHandleResultDTOS.add(itemHandleResultDTO); |
|
|
|
resultDTO.setHandleResultDTOS(itemHandleResultDTOS); |
|
|
|
|
|
|
|
return resultDTO; |
|
|
@ -461,7 +462,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
String typeKey = ""; |
|
|
|
for (ItemCirculationDeptResultDTO circulationDeptResultDTO: |
|
|
|
dto.getDeptResultDTOS()) { |
|
|
|
if (!typeKey.equals(circulationDeptResultDTO.getTypeKey())) { |
|
|
|
if (!"".equals(typeKey) && !typeKey.equals(circulationDeptResultDTO.getTypeKey())) { |
|
|
|
return new Result().error("不可跨部门流转协助,请重新选择流转协助部门"); |
|
|
|
} |
|
|
|
typeKey = circulationDeptResultDTO.getTypeKey(); |
|
|
|