From 1c1b258e84580c5343dd588a7800e6b1cda8122d Mon Sep 17 00:00:00 2001 From: liguoyang Date: Mon, 3 Mar 2025 11:32:36 +0800 Subject: [PATCH] fix fromquery --- Src/Dlhis.Basic/WorkGrids/Controllers/WorkGridsController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Dlhis.Basic/WorkGrids/Controllers/WorkGridsController.cs b/Src/Dlhis.Basic/WorkGrids/Controllers/WorkGridsController.cs index 5010a29f..c97f7c86 100644 --- a/Src/Dlhis.Basic/WorkGrids/Controllers/WorkGridsController.cs +++ b/Src/Dlhis.Basic/WorkGrids/Controllers/WorkGridsController.cs @@ -128,7 +128,7 @@ public class WorkGridsController : ControllerBase { await _workGridScheduleService.SaveAsync(request); } - + /// /// 移除网格人员排班 /// @@ -172,7 +172,7 @@ public class WorkGridsController : ControllerBase /// /// [HttpGet("user/attendance/page")] - public async Task> GetAttendancePageAsync(WorkGridScheduleAttendancePageRequest request) + public async Task> GetAttendancePageAsync([FromQuery] WorkGridScheduleAttendancePageRequest request) { return await _workGridScheduleService.GetAttendancePageAsync(request); }