|
@@ -98,7 +98,7 @@ public class PatrolInspectionAttendanceServiceImpl extends AbstractCrudService<P
|
|
|
userIdList.add(attendance.getOperatorId());
|
|
|
}
|
|
|
LambdaQueryWrapper<PatrolInspectionPersonnel> queryWrapper1 = Wrappers.lambdaQuery();
|
|
|
- queryWrapper1.in(PatrolInspectionPersonnel::getUserId,userIdList);
|
|
|
+ queryWrapper1.in(!userIdList.isEmpty(),PatrolInspectionPersonnel::getUserId,userIdList);
|
|
|
List<PatrolInspectionPersonnel> personnelList = patrolInspectionPersonnelService.list(queryWrapper1);
|
|
|
for (PatrolInspectionAttendance attendance : attendancePage.getRecords()) {
|
|
|
Map<String, Object> map = new HashMap<>();
|