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

Uat_IRC_Net10
he 2026-07-06 17:49:07 +08:00
commit fe96ff5924
5 changed files with 22468 additions and 0 deletions

View File

@ -64,6 +64,8 @@ namespace IRaCIS.Application.Contracts
public bool IsSubjectQuit { get; set; }
public string SuspendReason { get; set; } = string.Empty;
public string BackReason { get; set; } = string.Empty;
}
@ -141,6 +143,8 @@ namespace IRaCIS.Application.Contracts
public string SuspendReason { get; set; }
public string BackReason { get; set; } = string.Empty;
}

View File

@ -98,4 +98,8 @@ public class Subject : BaseFullDeleteAuditEntity
[Comment("访视中止原因")]
public string SuspendReason { get; set; }
[Comment("退回到访视中原因")]
public string BackReason { get; set; }
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,31 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class addReason : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "BackReason",
table: "Subject",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "",
comment: "退回到访视中原因");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "BackReason",
table: "Subject");
}
}
}

View File

@ -9972,6 +9972,12 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<int?>("Age")
.HasColumnType("int");
b.Property<string>("BackReason")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)")
.HasComment("退回到访视中原因");
b.Property<DateTime?>("BirthDate")
.HasColumnType("datetime2");