|
@@ -460,7 +460,7 @@ public class ProjectcontentinfoService extends CrudService<ProjectcontentinfoDao
|
|
|
}
|
|
|
}*/
|
|
|
//添加工作内容和报告关系
|
|
|
- if("according".equals(projectcontentinfo.getCondition())){
|
|
|
+ if("according".equals(projectcontentinfo.getCondition()) || "completion".equals(projectcontentinfo.getCondition())){
|
|
|
Integer contentAndReportCount = projectImplementEarlyService.getProjectContrntAndReport(projectReportData.getProjectContentDataList().get(0).getId(), projectReportData.getId());
|
|
|
if(contentAndReportCount==0){
|
|
|
projectImplementEarlyService.saveProjectContrntAndReport(projectReportData.getProjectContentDataList().get(0).getId(),projectReportData.getId());
|
|
@@ -501,7 +501,7 @@ public class ProjectcontentinfoService extends CrudService<ProjectcontentinfoDao
|
|
|
}
|
|
|
}
|
|
|
//保存tree数据
|
|
|
- if(!"according".equals(projectcontentinfo.getCondition())){
|
|
|
+ if(!"according".equals(projectcontentinfo.getCondition()) && !"completion".equals(projectcontentinfo.getCondition())){
|
|
|
saveReportTree(projectcontentinfo,status,company,office,reportDataName,infoId,attachmentList,projectReportData.getReviewStandard(),1);
|
|
|
}
|
|
|
}
|