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