Explorar o código

审核成功时修改步骤

zwj hai 10 meses
pai
achega
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 173
         data.setStatusIcfa(statusIcfa);
174 174
         data.setReasonIcfa(reasonIcfa);
175 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 179
         data.setStatusIcfaUserId(SecurityUtils.getUserId());
178 180
         data.setDateIcfa(DateUtils.getNowDate());
179 181
         return postProgrammeMapper.updatePostProgramme(data);