update 项目合规评估流程 推送数据到未符合项

This commit is contained in:
lijiarao
2023-12-23 17:43:14 +08:00
parent bc1b661efb
commit e718461425
4 changed files with 82 additions and 17 deletions
@@ -9,6 +9,7 @@ import com.jero.modules.laws.standard.entity.LawsOverseasStandard;
import com.jero.modules.laws.standard.service.ILawsDomesticStandardService;
import com.jero.modules.laws.standard.service.ILawsEnterpriseStandardService;
import com.jero.modules.laws.standard.service.ILawsOverseasStandardService;
import com.jero.modules.projectLibrary.common.AssessCommon;
import com.jero.modules.projectLibrary.entity.LawsEvaluationNotMet;
import com.jero.modules.projectLibrary.mapper.LawsEvaluationNotMetMapper;
import com.jero.modules.projectLibrary.service.ILawsEvaluationNotMetService;
@@ -171,7 +172,7 @@ public class LawsEvaluationNotMetServiceImpl extends ServiceImpl<LawsEvaluationN
return;
}
LambdaUpdateWrapper<LawsEvaluationNotMet> wrapper = new LambdaUpdateWrapper<>();
wrapper.set(LawsEvaluationNotMet::getState, "5");
wrapper.set(LawsEvaluationNotMet::getState, AssessCommon.CLOSED);
wrapper.in(LawsEvaluationNotMet::getId, ids);
update(wrapper);
}