update 项目合规评估流程 推送数据到未符合项
This commit is contained in:
@@ -35,6 +35,28 @@ public class AssessCommon {
|
||||
*/
|
||||
public final static String NOT_INVOLVED = "4";
|
||||
|
||||
/**
|
||||
* 待整改
|
||||
*/
|
||||
public final static String TO_BE_RECTIFIED = "1";
|
||||
/**
|
||||
* 整改中
|
||||
*/
|
||||
public final static String RECTIFICATION = "2";
|
||||
/**
|
||||
* 审批中
|
||||
*/
|
||||
public final static String UNDER_APPROVAL = "3";
|
||||
/**
|
||||
* 已完成
|
||||
*/
|
||||
public final static String DONE = "4";
|
||||
/**
|
||||
* 已关闭
|
||||
*/
|
||||
public final static String CLOSED = "5";
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user