fix: 不符合项评估库列表
This commit is contained in:
+7
@@ -60,6 +60,8 @@ public class ProcessSCCEndListener implements ExecutionListener {
|
||||
|
||||
@Resource
|
||||
private ProcessApprovalRecordService processApprovalRecordService;
|
||||
|
||||
public static final String TO_BE_RECTIFIED = "1";
|
||||
|
||||
@Override
|
||||
public void notify(DelegateExecution delegateExecution) {
|
||||
@@ -152,6 +154,11 @@ public class ProcessSCCEndListener implements ExecutionListener {
|
||||
lawsEvaluationNotMetLibraries.forEach(detail -> {
|
||||
detail.setId(null);
|
||||
detail.setAllApprovalUser(allApprovalUsers);
|
||||
detail.setStandardId(scc.getStandardId());
|
||||
detail.setStandardName(scc.getStandardName());
|
||||
detail.setStandardNumber(scc.getStandardNumber());
|
||||
detail.setProblemType(detail.getResult());
|
||||
detail.setRectifyStatus(TO_BE_RECTIFIED);
|
||||
});
|
||||
notMetService.saveBatch(lawsEvaluationNotMetLibraries);
|
||||
log.info("法规符合性排查流程结束监听器结束执行");
|
||||
|
||||
+5
-1
@@ -13,8 +13,12 @@
|
||||
</sql>
|
||||
|
||||
<select id="pageList" resultType="com.jero.modules.assessmentLibrary.entity.LawsEvaluationNotMetLibrary">
|
||||
select nm.*
|
||||
select nm.*,
|
||||
nm.standard_id,
|
||||
IF(nm.standard_id IS NOT NULL, d.standard_number, d.standard_number) AS standard_number,
|
||||
IF(nm.standard_id IS NOT NULL, d.standard_name, d.standard_name) AS standard_name
|
||||
from laws_evaluation_not_met_library nm
|
||||
left join laws_domestic_standard as d on d.id = nm.standard_id
|
||||
${ew.customSqlSegment}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user