修改
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
he 2025-02-26 13:37:30 +08:00
parent 56170b73ed
commit f471ce1535
5 changed files with 19093 additions and 3 deletions

View File

@ -73,7 +73,7 @@ public class TrialFileTypeAddOrEdit
public ArchiveType ArchiveTypeEnum { get; set; } public ArchiveType ArchiveTypeEnum { get; set; }
public DateOnly FirstFinalDate { get; set; } public DateOnly? FirstFinalDate { get; set; }
public bool IsConfirmRecord { get; set; } public bool IsConfirmRecord { get; set; }

View File

@ -128,7 +128,7 @@ public class TrialFileType : BaseFullAuditEntity
public bool IsConfirmRecord { get; set; } public bool IsConfirmRecord { get; set; }
[Comment("首次定稿日期")] [Comment("首次定稿日期")]
public DateOnly FirstFinalDate { get; set; } public DateOnly? FirstFinalDate { get; set; }
[Comment("是否自定义")] [Comment("是否自定义")]
public bool IsSelfDefine { get; set; } public bool IsSelfDefine { get; set; }

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,41 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class DateOnlytime : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateOnly>(
name: "FirstFinalDate",
table: "TrialFileType",
type: "date",
nullable: true,
comment: "首次定稿日期",
oldClrType: typeof(DateOnly),
oldType: "date",
oldComment: "首次定稿日期");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateOnly>(
name: "FirstFinalDate",
table: "TrialFileType",
type: "date",
nullable: false,
defaultValue: new DateOnly(1, 1, 1),
comment: "首次定稿日期",
oldClrType: typeof(DateOnly),
oldType: "date",
oldNullable: true,
oldComment: "首次定稿日期");
}
}
}

View File

@ -11938,7 +11938,7 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<Guid>("CreateUserId") b.Property<Guid>("CreateUserId")
.HasColumnType("uniqueidentifier"); .HasColumnType("uniqueidentifier");
b.Property<DateOnly>("FirstFinalDate") b.Property<DateOnly?>("FirstFinalDate")
.HasColumnType("date") .HasColumnType("date")
.HasComment("首次定稿日期"); .HasComment("首次定稿日期");