Commit 488ee6a3 authored by wangxl's avatar wangxl

1

parent fa095afc
......@@ -286,7 +286,10 @@ public class ComProjectTaskServiceImpl extends BaseServiceImpl<ComProjectTaskDAO
LoadProjectKPIInfo(dto);
// 项目安排及阶段目标
List<ComProjectStageGoalDTO> stageGoals = comProjectStageGoalService.getListByObjectId(dto.getProjId());
List<ComProjectStageGoalDTO> stageGoals = comProjectStageGoalService.getListByObjectId(dto.getId());
if (stageGoals == null || stageGoals.size() == 0) {
stageGoals = comProjectStageGoalService.getListByObjectId(dto.getProjId());
}
dto.setStageGoals(stageGoals);
// 项目课颖设置表
......@@ -311,6 +314,7 @@ public class ComProjectTaskServiceImpl extends BaseServiceImpl<ComProjectTaskDAO
fileList = configureFileList(fileList);
dto.setFileList(fileList);
//审核记录列表
List<ComProjectAuditNoteDTO> auditList = comProjectAuditNoteService.getListByObjectId(dto.getId());
dto.setAuditList(auditList);
......@@ -426,6 +430,8 @@ public class ComProjectTaskServiceImpl extends BaseServiceImpl<ComProjectTaskDAO
}
// 附件
ComFileService.insertList(dto.getFileList(), id, CommonEnum.fileType.projectTask.getCode());
// 项目安排及阶段目标
comProjectStageGoalService.insertList(dto.getStageGoals(), id);
return id;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment