bug修改

This commit is contained in:
zt
2025-10-10 21:45:08 +08:00
parent 6c96c6f534
commit 11b5908d8c
2 changed files with 3 additions and 2 deletions

View File

@ -143,6 +143,7 @@ public class ProjectBigScreenServiceImpl implements ProjectBigScreenService {
// 获取施工人员总数
Long count = constructionUserService.lambdaQuery()
.eq(SubConstructionUser::getProjectId, projectId)
.eq(SubConstructionUser::getUserRole, "0")
.isNotNull(SubConstructionUser::getTeamId)
.count();
BigDecimal countDec = BigDecimal.valueOf(count);

View File

@ -128,8 +128,8 @@ public class BusAttendanceAppController extends BaseController {
* 获取用户打卡异常记录
*/
@GetMapping("/getAbnormalAttendance/{projectId}")
public R<List<BusAttendanceVo>> getAbnormalAttendance(@NotNull @PathVariable("projectId") Long projectId){
return R.ok(attendanceService.getAbnormalAttendance(projectId));
public TableDataInfo<BusAttendanceVo> getAbnormalAttendance(@NotNull @PathVariable("projectId") Long projectId, PageQuery pageQuery){
return attendanceService.getAbnormalAttendance(projectId,pageQuery);
}
/**