法规清单-导入的时候,把文档库id设置进任务清单表中。
This commit is contained in:
+4
@@ -387,9 +387,12 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectLawsInventoryLogEOService.updateLog(contentLog, projectLawsInventoryEO.getProjectLibraryId(),CutEnum.CN.getValue());
|
projectLawsInventoryLogEOService.updateLog(contentLog, projectLawsInventoryEO.getProjectLibraryId(),CutEnum.CN.getValue());
|
||||||
projectLawsInventoryLogEOService.updateLog(enContentLog, projectLawsInventoryEO.getProjectLibraryId(),CutEnum.EN.getValue());
|
projectLawsInventoryLogEOService.updateLog(enContentLog, projectLawsInventoryEO.getProjectLibraryId(),CutEnum.EN.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(CollectionUtils.isNotEmpty(projectTaskInventoryEOList)){
|
||||||
//项目任务清单数据初始化。
|
//项目任务清单数据初始化。
|
||||||
this.projectTaskInventoryEOService.saveBatch(projectTaskInventoryEOList);
|
this.projectTaskInventoryEOService.saveBatch(projectTaskInventoryEOList);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新
|
* 更新
|
||||||
@@ -4827,6 +4830,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
String projectTaskInventoryId = UUID.randomUUID().toString().replace("-", "");
|
String projectTaskInventoryId = UUID.randomUUID().toString().replace("-", "");
|
||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryEO.getId());
|
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryEO.getId());
|
||||||
|
projectLawsInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
}
|
}
|
||||||
this.projectTaskInventoryEOService.saveBatch(projectTaskInventoryEOList);
|
this.projectTaskInventoryEOService.saveBatch(projectTaskInventoryEOList);
|
||||||
|
|||||||
Reference in New Issue
Block a user