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

Test_IRC_Net8
hang 2025-02-27 10:49:59 +08:00
commit dc3a830909
5 changed files with 19093 additions and 3 deletions

View File

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

View File

@ -128,7 +128,7 @@ public class TrialFileType : BaseFullAuditEntity
public bool IsConfirmRecord { get; set; }
[Comment("首次定稿日期")]
public DateOnly FirstFinalDate { get; set; }
public DateOnly? FirstFinalDate { get; set; }
[Comment("是否自定义")]
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")
.HasColumnType("uniqueidentifier");
b.Property<DateOnly>("FirstFinalDate")
b.Property<DateOnly?>("FirstFinalDate")
.HasColumnType("date")
.HasComment("首次定稿日期");