Gqingci пре 1 дан
родитељ
комит
96211936d0

+ 4 - 4
ruoyi-modules/ruoyi-main/src/main/java/org/dromara/main/service/impl/MainBackOrderServiceImpl.java

@@ -698,8 +698,8 @@ public class MainBackOrderServiceImpl implements IMainBackOrderService {
             throw new ServiceException("无权查看该候选人的报告");
         }
 
-        if (record.getReportStatus() == null || record.getReportStatus() != 1) {
-            throw new ServiceException("报告尚未填写完毕,暂时无法生成和查看!");
+        if (record.getReportStatus() == null || record.getReportStatus() != 2) {
+            throw new ServiceException("报告尚未审核,暂时无法生成和查看!");
         }
 
         if (StringUtils.isNotBlank(record.getReportUrl())) {
@@ -796,8 +796,8 @@ public class MainBackOrderServiceImpl implements IMainBackOrderService {
             throw new ServiceException("无权查看该候选人的报告");
         }
 
-        if (record.getReportStatus() == null || record.getReportStatus() != 1) {
-            throw new ServiceException("报告尚未填写完毕,暂时无法生成和查看!");
+        if (record.getReportStatus() == null || record.getReportStatus() != 2) {
+            throw new ServiceException("报告尚未审核,暂时无法生成和查看!");
         }
 
         return record;