hfxc226 3 年之前
父節點
當前提交
18cf84d689
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform-service/src/main/java/com/platform/service/sb/impl/SbInfoServiceImpl.java

+ 1 - 1
platform-service/src/main/java/com/platform/service/sb/impl/SbInfoServiceImpl.java

@@ -257,7 +257,7 @@ public class SbInfoServiceImpl extends BaseServiceImpl<SbInfoMapper, SbInfo, SbI
                     }
                 }
                 if (find) {
-                    if (findRepair.getCategory().equals(RepairApplicationFormCategoryEnum.PLAN.getValue())) {
+                    if (findRepair.getCategory() == null || findRepair.getCategory().equals(RepairApplicationFormCategoryEnum.PLAN.getValue())) {
                         repairSbInfoListYellow.add(sbInfo);
                     } else {
                         repairSbInfoListRed.add(sbInfo);