diff --git a/IRaCIS.Core.Domain/Common/FrontAuditConfig.cs b/IRaCIS.Core.Domain/Common/FrontAuditConfig.cs index 25f82d9f0..a3d7a76e7 100644 --- a/IRaCIS.Core.Domain/Common/FrontAuditConfig.cs +++ b/IRaCIS.Core.Domain/Common/FrontAuditConfig.cs @@ -122,10 +122,10 @@ public class FrontAuditConfig : BaseFullAuditEntity public string ValueCN { get; set; } = null!; - ///// - ///// 适用的标准 - ///// - //public List ApplyCriterionList { get; set; } = new List() { }; + /// + /// 适用的标准 + /// + public List ApplyCriterionList { get; set; } = new List() { }; /// /// 是否默认选择 diff --git a/IRaCIS.Core.Infra.EFCore/Migrations/20251021052516_ApplyCriterionList3.cs b/IRaCIS.Core.Infra.EFCore/Migrations/20251021052516_ApplyCriterionList3.cs new file mode 100644 index 000000000..e3a4ab4f2 --- /dev/null +++ b/IRaCIS.Core.Infra.EFCore/Migrations/20251021052516_ApplyCriterionList3.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace IRaCIS.Core.Infra.EFCore.Migrations +{ + /// + public partial class ApplyCriterionList3 : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "ApplyCriterionList", + table: "FrontAuditConfig", + type: "nvarchar(max)", + nullable: false, + defaultValue: "[]"); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + + } + } +}