|
|
|
@ -3938,12 +3938,22 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
String successFlag = YesOrNoEnum.NO.value(); |
|
|
|
String returnMsgBody = ""; |
|
|
|
ItemGridPlatformDTO itemPlat = itemGridPlatformService.getInfoByTaskId(formDto.getP_recId()); |
|
|
|
|
|
|
|
if (null == itemPlat) { |
|
|
|
// 保存接口调用日志
|
|
|
|
this.saveInterfaceLog("", InterfaceLogBusinessTypeEnum.ACCEPT_ITEM_PROCESS.getValue(), |
|
|
|
ApiConstants.acceptItemProcess, successFlag, formDto.getP_recId(), returnMsgBody); |
|
|
|
return new Result().error("未查到相关事件信息"); |
|
|
|
} |
|
|
|
ItemHandleProcessDTO processDTO = itemHandleProcessDao.getLastProcess(itemPlat.getReferenceId()); |
|
|
|
if (processDTO == null) { |
|
|
|
return new Result().error("未查到相关事件流程信息"); |
|
|
|
} else if ("0".equals(formDto.getState()) && ItemGridPlatformHandleStatusEnum.HANDLE_XFPJ.getValue() == processDTO.getState()) { |
|
|
|
return new Result().error("请勿重复进行下放评价操作"); |
|
|
|
} else if ("1".equals(formDto.getState()) && ItemGridPlatformHandleStatusEnum.HANDLE_BH.getValue() == processDTO.getState()) { |
|
|
|
return new Result().error("请勿重复进行驳回操作"); |
|
|
|
} |
|
|
|
|
|
|
|
// 插入项目处理进度表
|
|
|
|
ItemHandleProcessDTO itemHandleProcessDto = new ItemHandleProcessDTO(); |
|
|
|
itemHandleProcessDto.setId(UUID.randomUUID().toString().replaceAll("-", "")); |
|
|
|
|