Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-23 15:31:26 +08:00
5 changed files with 22159 additions and 3 deletions
@@ -117,7 +117,7 @@ namespace IRaCIS.Core.Application.Service
public async Task<IResponseOutput> SetAutoCutNextTask(SetAutoCutNextTaskInDto inDto)
{
var userConfig = await _readingUserConfigRepository.FirstOrDefaultAsync(x => x.UserRoleId == _userInfo.UserRoleId && x.ImageToolType == inDto.ImageToolType);
var userConfig = await _readingUserConfigRepository.FirstOrDefaultNoTrackingAsync(x => x.UserRoleId == _userInfo.UserRoleId && x.ImageToolType == inDto.ImageToolType);
if (userConfig == null)
{
@@ -131,7 +131,7 @@ namespace IRaCIS.Core.Application.Service
}
else
{
await _readingUserConfigRepository.UpdatePartialFromQueryAsync(x => x.Id == userConfig.Id, x => new ReadingUserConfig
await _readingUserConfigRepository.UpdatePartialFromQueryAsync(x=>x.Id==userConfig.Id, x => new ReadingUserConfig
{
AutoCutNextTask = inDto.AutoCutNextTask,
IsDoubleScreen = inDto.IsDoubleScreen,
@@ -139,7 +139,7 @@ namespace IRaCIS.Core.Application.Service
}
await _userRoleRepository.SaveChangesAsync();
await _readingUserConfigRepository.SaveChangesAsync();
return ResponseOutput.Ok();
}