|
|
@@ -206,9 +206,6 @@ public class FinalAcceptanceManage { |
|
|
|
|
|
|
|
String regionCode = projectInfo.getAreaCode(); |
|
|
|
|
|
|
|
//放入终验材料 |
|
|
|
projectInfo.setFinalAcceptanceMaterials(projectDto.getFinalAcceptanceMaterials()); |
|
|
|
|
|
|
|
WflowModels model = processModelService.getOne(Wrappers.lambdaQuery(WflowModels.class) |
|
|
|
.eq(WflowModels::getRegionCode, regionCode) |
|
|
|
.eq(WflowModels::getProcessType, ProjectProcessStageEnum.ACCEPTANCE_DECLARATION_APPROVAL_PROCESS.getCode()) |
|
|
@@ -238,8 +235,8 @@ public class FinalAcceptanceManage { |
|
|
|
|
|
|
|
//保存终验项目 |
|
|
|
//生成新版本 并且进入下一状态 |
|
|
|
projectInfo = projectLibManage.saveProjectWithVersionAndPass(projectInfo,instanceId, |
|
|
|
InstTypeEnum.PROJECT_FINAL_INSPECTION.getCode(),Boolean.TRUE); |
|
|
|
projectInfo = projectLibManage.saveProjectWithVersionAndPass(projectInfo,instanceId,projectDto, |
|
|
|
InstTypeEnum.PROJECT_FINAL_INSPECTION.getCode(),Boolean.FALSE); |
|
|
|
|
|
|
|
//发送给第一个审批人消息 |
|
|
|
noticeManage.sendFirtUser(projectInfo,model.getFormName(),instanceId, |
|
|
@@ -267,9 +264,6 @@ public class FinalAcceptanceManage { |
|
|
|
|
|
|
|
String regionCode = projectInfo.getAreaCode(); |
|
|
|
|
|
|
|
//放入终验材料 |
|
|
|
projectInfo.setFinalAcceptanceMaterials(projectDto.getFinalAcceptanceMaterials()); |
|
|
|
|
|
|
|
WflowModels model = processModelService.getOne(Wrappers.lambdaQuery(WflowModels.class) |
|
|
|
.eq(WflowModels::getRegionCode, regionCode) |
|
|
|
.eq(WflowModels::getProcessType, ProjectProcessStageEnum.ACCEPTANCE_DECLARATION_APPROVAL_PROCESS.getCode()) |
|
|
@@ -299,7 +293,7 @@ public class FinalAcceptanceManage { |
|
|
|
|
|
|
|
//保存终验项目 |
|
|
|
//生成新版本 并且进入下一状态 |
|
|
|
projectInfo = projectLibManage.saveProjectWithVersionAndPass(projectInfo,instanceId, |
|
|
|
projectInfo = projectLibManage.saveProjectWithVersionAndPass(projectInfo,instanceId,projectDto, |
|
|
|
InstTypeEnum.PROJECT_FINAL_INSPECTION.getCode(),Boolean.TRUE); |
|
|
|
|
|
|
|
//发送给第一个审批人消息 |
|
|
|