修改
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>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<object> GetAutoCutNextTask()
|
public async Task<object?> GetAutoCutNextTask()
|
||||||
{
|
{
|
||||||
|
|
||||||
return await _userRoleRepository.Where(x => x.Id == _userInfo.UserRoleId).Select(x => new
|
return await _userRoleRepository.Where(x => x.Id == _userInfo.UserRoleId).Select(x => new
|
||||||
{
|
{
|
||||||
AutoCutNextTask = x.AutoCutNextTask,
|
AutoCutNextTask = x.AutoCutNextTask,
|
||||||
IsDoubleScreen = x.IsDoubleScreen,
|
IsDoubleScreen = x.IsDoubleScreen,
|
||||||
}).FirstNotNullAsync();
|
}).FirstOrDefaultAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue