Uat_IRC_Net8
parent
235f420e97
commit
f504cfee9e
|
@ -14774,6 +14774,11 @@
|
|||
<member name="T:IRaCIS.Core.Application.ViewModel.FrontAuditConfigAddOrEdit">
|
||||
<summary> FrontAuditConfigAddOrEdit 列表查询参数模型</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.ViewModel.FrontAuditConfigAddOrEdit.IsDefaultChoice">
|
||||
<summary>
|
||||
是否默认选择
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.ViewModel.FrontAuditConfigAddOrEdit.CodeEn">
|
||||
<summary>
|
||||
字段的英文值
|
||||
|
|
|
@ -148,6 +148,11 @@ namespace IRaCIS.Core.Application.ViewModel
|
|||
public Guid UpdateUserId { get; set; }
|
||||
public string Code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 是否默认选择
|
||||
/// </summary>
|
||||
public bool IsDefaultChoice { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 字段的英文值
|
||||
/// </summary>
|
||||
|
|
|
@ -1192,7 +1192,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
Sort = data.Sort,
|
||||
ValueCN = data.ValueCN,
|
||||
ChildrenTypeValue = leftchildrenType.Value,
|
||||
|
||||
IsDefaultChoice= data.IsDefaultChoice,
|
||||
DictionaryKey = data.DictionaryKey,
|
||||
EnumType = data.EnumType,
|
||||
ObjectTypeId = data.ObjectTypeId,
|
||||
|
|
|
@ -117,6 +117,11 @@ public class FrontAuditConfig : BaseFullAuditEntity
|
|||
|
||||
public string ValueCN { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// 是否默认选择
|
||||
/// </summary>
|
||||
public bool IsDefaultChoice { get; set; } = false;
|
||||
|
||||
}
|
||||
public class UrlConfig
|
||||
{
|
||||
|
|
19473
IRaCIS.Core.Infra.EFCore/Migrations/20250530010225_IsDefaultChoice.Designer.cs
generated
Normal file
19473
IRaCIS.Core.Infra.EFCore/Migrations/20250530010225_IsDefaultChoice.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,29 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class IsDefaultChoice : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsDefaultChoice",
|
||||
table: "FrontAuditConfig",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsDefaultChoice",
|
||||
table: "FrontAuditConfig");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2647,6 +2647,9 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.HasColumnType("bit")
|
||||
.HasComment("未知是否有用-废弃核查");
|
||||
|
||||
b.Property<bool>("IsDefaultChoice")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("IsEnable")
|
||||
.HasColumnType("bit");
|
||||
|
||||
|
|
Loading…
Reference in New Issue