修改文档库文档编号、标题变化,虚拟清单,法规清单不联动(法规/认证清单中若状态为符合时则编号标题不再随文档库变化)

不涉及也需判定
This commit is contained in:
gaosong
2023-12-09 12:53:01 +08:00
parent f951d3da1a
commit e325737441
2 changed files with 5 additions and 2 deletions
@@ -1401,7 +1401,8 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
List<BussDocumentLibraryEO> docList = iBussDocumentLibraryEOService.listByIds(standIdList);
for (ProjectCertificationInventoryEO data : datas) {
//处理编号认证清单中若状态为符合时则编号标题不再随文档库变化
if (!data.getFlowStatus().equals(CertificationInventoryFlowStatusEnum.REVIEW_AND_PASS.getValue())
if ((!data.getFlowStatus().equals(CertificationInventoryFlowStatusEnum.REVIEW_AND_PASS.getValue())
|| !data.getFlowStatus().equals(CertificationInventoryFlowStatusEnum.UNINVOLVED.getValue()))
&& StringUtils.isNotBlank(data.getBussDocumentLibraryId())) {
BussDocumentLibraryEO docObj = null;
for (BussDocumentLibraryEO obj : docList) {
@@ -1561,7 +1561,9 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
for (ProjectLawsInventoryEO projectLawsInventoryEO : list) {
//处理编号法规清单中若状态为符合时则编号标题不再随文档库变化
if ((!projectLawsInventoryEO.getDesignFlowStatus().equals(ComplianceFlowStatusEnum.CONFORMITY.getValue())
|| !projectLawsInventoryEO.getVerifyFlowStatus().equals(ComplianceFlowStatusEnum.CONFORMITY.getValue()))
|| !projectLawsInventoryEO.getVerifyFlowStatus().equals(ComplianceFlowStatusEnum.CONFORMITY.getValue())
|| !projectLawsInventoryEO.getDesignFlowStatus().equals(ComplianceFlowStatusEnum.UNINVOLVED.getValue())
|| !projectLawsInventoryEO.getVerifyFlowStatus().equals(ComplianceFlowStatusEnum.UNINVOLVED.getValue()))
&& StringUtils.isNotBlank(projectLawsInventoryEO.getStandId())) {
BussDocumentLibraryEO docObj = null;
for (BussDocumentLibraryEO obj : docList) {