hfxc226 hace 3 años
padre
commit
18cf84d689

+ 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);