feat: 复审计划结束后修订结果更新复审结果

This commit is contained in:
2024-01-16 10:42:37 +08:00
parent 6b733753f1
commit f6c800eec8
@@ -89,6 +89,11 @@ public class ProcessESRecheckEndListener implements ExecutionListener {
esService.update(esWrapper);
}
if (RECHECK_INIT_CHANGE.equals(recheckAdvice)) {
// 废止
LambdaUpdateWrapper<EnterpriseStandardRecheckPlan> wrapper = new LambdaUpdateWrapper<>();
wrapper.eq(EnterpriseStandardRecheckPlan::getStandardNo, standNo);
wrapper.set(EnterpriseStandardRecheckPlan::getRecheckResult, RECHECK_INIT_CHANGE);
esRecheckPlanService.update(wrapper);
// 修订 自动发起企标立项/变更流程(修订模式)
esInitChangeService.autoStartProcessByRecheck(standNo);
}