feat 最大连续排班控制增加

This commit is contained in:
2025-03-06 15:43:39 +08:00
parent 840433847a
commit 0ae46edcd3
8 changed files with 190 additions and 1 deletions

View File

@@ -31,6 +31,13 @@ public class WorkGridsController : ControllerBase
_workGridScheduleService = workGridScheduleService;
}
[HttpGet("gainfo-selections")]
public async Task<Pagination<WorkGridGainfoPageResponse>> GetPageAsync([FromQuery] WorkGridGainfoPageRequest request)
{
return await _workGridService.GetPageAsync(request);
}
/// <summary>
/// 保存
/// </summary>
@@ -53,7 +60,7 @@ public class WorkGridsController : ControllerBase
{
return await _workGridService.GetPageAsync(request);
}
/// <summary>
/// 修改网格管理者
/// </summary>
@@ -125,6 +132,7 @@ public class WorkGridsController : ControllerBase
/// </summary>
/// <param name="request"></param>
[HttpPost("user/schedule/save")]
[Transactional]
public async Task SaveScheduleAsync(WorkGridScheduleSaveRequest request)
{
await _workGridScheduleService.SaveAsync(request);