lyhzzz il y a 2 ans
Parent
commit
e9e23f2efe

+ 3 - 1
src/main/java/com/fdkankan/sale/service/impl/RepairInfoService.java

@@ -176,7 +176,6 @@ public class RepairInfoService {
         List<Integer> delStatus = Arrays.asList(41,82,90,91);
         List<Integer> delStatusIng = Arrays.asList(50,82,90,91,100);
         List<RepairLogVo> repairLogListVo = new ArrayList<>();
-        repairLogList.removeIf(entity->entity.getSubTitle() == null);
         if(repairLogList.size() >0){
             RepairLogVo repairLogVo = repairLogList.get(0);
             RepairLogVo logVo = getNextStepVo(repairLogVo);
@@ -196,6 +195,9 @@ public class RepairInfoService {
                 if("h5".equals(type) && delStatusIng.contains(vo.getRepairStatus())){
                     continue;
                 }
+                if(vo.getTitle() == null){
+                    continue;
+                }
                 repairLogListVo.add(vo);
             }
         }