|
|
@ -472,9 +472,12 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public Result<List<ItemCirculationDeptResultDTO>> whistlingDept(EventDeptFormDTO formDto) { |
|
|
|
String typeKey = baseDao.selectDeptTypeKeyById(formDto.getDeptId()); |
|
|
|
if(StringUtils.isBlank(typeKey)){ |
|
|
|
throw new RenException("未查到该部门的相关信息。"); |
|
|
|
Result deptMessage = adminFeignClient.getDeptTypeKey(formDto.getDeptId()); |
|
|
|
String typeKey = ""; |
|
|
|
if( 0 == deptMessage.getCode()){ |
|
|
|
typeKey = deptMessage.getData().toString(); |
|
|
|
}else{ |
|
|
|
throw new RenException(deptMessage.getMsg()); |
|
|
|
} |
|
|
|
List<ItemCirculationDeptResultDTO> deptResultDTOS = new ArrayList<>(); |
|
|
|
// 网格-可做操作和可流转部门
|
|
|
@ -1391,9 +1394,12 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
@Override |
|
|
|
public Result<List<ItemHandleResultDTO>> queryHandleCategories(EventDeptFormDTO formDto) { |
|
|
|
List<ItemHandleResultDTO> itemHandleResultDTOList = new ArrayList<>(); |
|
|
|
String typeKey = baseDao.selectDeptTypeKeyById(formDto.getDeptId()); |
|
|
|
if(StringUtils.isBlank(typeKey)){ |
|
|
|
throw new RenException("未查到该部门的相关信息。"); |
|
|
|
Result deptMessage = adminFeignClient.getDeptTypeKey(formDto.getDeptId()); |
|
|
|
String typeKey = ""; |
|
|
|
if( 0 == deptMessage.getCode()){ |
|
|
|
typeKey = deptMessage.getData().toString(); |
|
|
|
}else{ |
|
|
|
throw new RenException(deptMessage.getMsg()); |
|
|
|
} |
|
|
|
// 获取可操作处理和可流转部门
|
|
|
|
switch (typeKey) { |
|
|
|