瀏覽代碼

Merge branch 'fu-dev' of uskycloud/usky-modules into server-165

fuyuchuan 11 月之前
父節點
當前提交
e2ad602f17

+ 3 - 1
service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/PatrolInspectionRecordServiceImpl.java

@@ -452,7 +452,9 @@ public class PatrolInspectionRecordServiceImpl extends AbstractCrudService<Patro
             for (int i = 0; i < idArray.length; i++) {
                 listId.add(Integer.parseInt(idArray[i]));
             }
-            queryWrapper.in(PatrolInspectionRecord::getId, listId);
+            if (!listId.isEmpty()){
+                queryWrapper.in(PatrolInspectionRecord::getId, listId);
+            }
         }
         queryWrapper.orderByDesc(PatrolInspectionRecord::getId);
         List<PatrolInspectionRecord> patrolInspectionRecordList = this.list(queryWrapper);