Compare commits

...

2 Commits

Author SHA1 Message Date
he af160e3c96 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 failing Details
continuous-integration/drone Build is passing Details
2026-04-23 14:56:28 +08:00
he b5e6a81a52 功能修改 2026-04-23 14:56:25 +08:00
5 changed files with 22159 additions and 3 deletions

View File

@ -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)
{
@ -139,7 +139,7 @@ namespace IRaCIS.Core.Application.Service
}
await _userRoleRepository.SaveChangesAsync();
await _readingUserConfigRepository.SaveChangesAsync();
return ResponseOutput.Ok();
}

View File

@ -30,6 +30,11 @@ public class UserFeedBack : BaseFullAuditEntity
public Guid? TrialSiteId { get; set; }
public Guid? TrialId { get; set; }
/// <summary>
/// 原因
/// </summary>
public string Reason { get; set; } = string.Empty;
[MaxLength]
public string ScreenshotListStr { get; set; } = string.Empty;
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,30 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class UserFeedBack2 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Reason",
table: "UserFeedBack",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Reason",
table: "UserFeedBack");
}
}
}

View File

@ -15684,6 +15684,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<int>("QuestionType")
.HasColumnType("int");
b.Property<string>("Reason")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("ScreenshotListStr")
.IsRequired()
.HasColumnType("nvarchar(max)");