Browse Source

审核成功时修改步骤

zwj 10 months ago
parent
commit
dcaa10aab7

+ 3 - 1
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/service/impl/PostProgrammeServiceImpl.java

@@ -173,7 +173,9 @@ public class PostProgrammeServiceImpl extends ServiceImpl<PostProgrammeMapper, P
173
         data.setStatusIcfa(statusIcfa);
173
         data.setStatusIcfa(statusIcfa);
174
         data.setReasonIcfa(reasonIcfa);
174
         data.setReasonIcfa(reasonIcfa);
175
         data.setStatus(statusIcfa);//最终审核结果
175
         data.setStatus(statusIcfa);//最终审核结果
176
-        data.setStep(PostProgrammeEnum.STEP_ICFA.getValue());
176
+        if (statusIcfa == PostProgrammeEnum.STATUS_ICFA_PASS.getValue()) {
177
+            data.setStep(PostProgrammeEnum.STEP_ICFA.getValue());
178
+        }
177
         data.setStatusIcfaUserId(SecurityUtils.getUserId());
179
         data.setStatusIcfaUserId(SecurityUtils.getUserId());
178
         data.setDateIcfa(DateUtils.getNowDate());
180
         data.setDateIcfa(DateUtils.getNowDate());
179
         return postProgrammeMapper.updatePostProgramme(data);
181
         return postProgrammeMapper.updatePostProgramme(data);