Compare commits

..

No commits in common. "af160e3c96f416ece558e363c2513ec5a2877969" and "58eb59bd6133f7613c00c30cd77c23f50c549f04" have entirely different histories.

5 changed files with 3 additions and 22159 deletions

View File

@ -117,7 +117,7 @@ namespace IRaCIS.Core.Application.Service
public async Task<IResponseOutput> SetAutoCutNextTask(SetAutoCutNextTaskInDto inDto)
{
var userConfig = await _readingUserConfigRepository.FirstOrDefaultNoTrackingAsync(x => x.UserRoleId == _userInfo.UserRoleId && x.ImageToolType == inDto.ImageToolType);
var userConfig = await _readingUserConfigRepository.FirstOrDefaultAsync(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 _readingUserConfigRepository.SaveChangesAsync();
await _userRoleRepository.SaveChangesAsync();
return ResponseOutput.Ok();
}

View File

@ -30,11 +30,6 @@ 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

@ -1,30 +0,0 @@
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,11 +15684,6 @@ 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)");