Browse Source

fix: 修复审核页面,没有审核状态的问题

Scott 1 year ago
parent
commit
3bfe3ddc31

+ 4 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/service/impl/AfterwardsAuditServiceImpl.java

@@ -487,6 +487,10 @@ public class AfterwardsAuditServiceImpl extends ServiceImpl<AfterwardsAuditMappe
             result.setDetailList(auditInfoListResponseList);
         }
         result.setTotal(total);
+        // 处理审核状态
+        if (!StringUtils.hasText(result.getCheckState())) {
+            result.setCheckState(AfterwardsAuditStatusEnum.wait.getStatus());
+        }
         return result;
     }