修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
8b1626e292
commit
9e9db251c8
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue