Browse Source

进展返参缺失值

master
sunyuchao 3 years ago
parent
commit
192cb1d6a0
  1. 5
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/IcEventServiceImpl.java

5
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/IcEventServiceImpl.java

@ -998,14 +998,15 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit
//2.查询事件回复信息
LinkedList<IcEventProcessListResultDTO> event = icEventReplyService.getByEventId(formDTO.getIcEventId());
//3.判断查询事件项目进展或需求进展信息
//项目进展
if ("1".equals(entity.getOperationType())) {
ProcessListV2FormDTO processListV2FormDTO = new ProcessListV2FormDTO();
processListV2FormDTO.setProjectId(entity.getOperationId());
List<ProcessListV2ResultDTO> project = projectTraceService.processListV2(processListV2FormDTO);
resultList.addAll(ConvertUtils.sourceToTarget(project, IcEventProcessListResultDTO.class));
List<IcEventProcessListResultDTO> projectList = ConvertUtils.sourceToTarget(project, IcEventProcessListResultDTO.class);
projectList.forEach(p->p.setType("project"));
resultList.addAll(projectList);
}
//需求进展
if ("2".equals(entity.getOperationType())) {

Loading…
Cancel
Save