修改
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
he 2025-09-05 14:37:17 +08:00
parent 8b1626e292
commit 9e9db251c8
1 changed files with 2 additions and 2 deletions

View File

@ -82,14 +82,14 @@ namespace IRaCIS.Core.Application.Service
/// </summary>
/// <returns></returns>
[HttpPost]
public async Task<object> GetAutoCutNextTask()
public async Task<object?> GetAutoCutNextTask()
{
return await _userRoleRepository.Where(x => x.Id == _userInfo.UserRoleId).Select(x => new
{
AutoCutNextTask = x.AutoCutNextTask,
IsDoubleScreen = x.IsDoubleScreen,
}).FirstNotNullAsync();
}).FirstOrDefaultAsync();
}