From a30f4aafcc4745ba2c1ac4946cdccd2874842122 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 01a666a9..4552e4e3 100644 --- a/Src/Dlhis.Basic/WorkGrids/Controllers/WorkGridsController.cs +++ b/Src/Dlhis.Basic/WorkGrids/Controllers/WorkGridsController.cs @@ -127,7 +127,7 @@ public class WorkGridsController : ControllerBase { await _workGridScheduleService.SaveAsync(request); } - + /// /// 移除网格人员排班 /// @@ -171,7 +171,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); }