add 考勤分页和补传
This commit is contained in:
@@ -51,7 +51,7 @@ public class WorkGridsController : ControllerBase
|
||||
{
|
||||
return await _workGridService.GetPageAsync(request);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 修改网格管理者
|
||||
/// </summary>
|
||||
@@ -61,7 +61,7 @@ public class WorkGridsController : ControllerBase
|
||||
{
|
||||
await _workGridService.ChangeAsync(request.From, request.To);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取我的网格信息
|
||||
/// </summary>
|
||||
@@ -151,4 +151,25 @@ public class WorkGridsController : ControllerBase
|
||||
{
|
||||
return await _workGridScheduleService.GetListSummaryAsync(workGridCode, start, end);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取网格人员考勤记录分页
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("user/attendance/page")]
|
||||
public async Task<Pagination<WorkGridScheduleAttendancePageResponse>> GetAttendancePageAsync(WorkGridScheduleAttendancePageRequest request)
|
||||
{
|
||||
return await _workGridScheduleService.GetAttendancePageAsync(request);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 网格人员考勤记录补传
|
||||
/// </summary>
|
||||
/// <param name="logIds"></param>
|
||||
[HttpPost("user/attendance/upload")]
|
||||
public async Task ManuallyUploadAsync(List<long> logIds)
|
||||
{
|
||||
await _workGridScheduleService.ManuallyUploadAsync(logIds);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user