Compare commits
No commits in common. "7a2d95a77ce898ce0c0f1e6679e997167714a578" and "e9c6d123d3005b50621b23c9f8b860465316cde4" have entirely different histories.
7a2d95a77c
...
e9c6d123d3
|
|
@ -208,7 +208,6 @@ namespace IRaCIS.Core.Application.Services
|
|||
await _systemDocumentRepository.BatchUpdateNoTrackingAsync(x => inDto.Ids.Contains(x.Id), x => new SystemDocument()
|
||||
{
|
||||
IsPublish = true,
|
||||
PublishDate= DateTime.Now,
|
||||
IsDeleted = false,
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ namespace IRaCIS.Core.Application.Services
|
|||
await _trialDocumentRepository.UpdatePartialFromQueryAsync(x => inDto.Ids.Contains(x.Id), x => new TrialDocument()
|
||||
{
|
||||
IsPublish = true,
|
||||
PublishDate = DateTime.Now,
|
||||
IsDeleted = false,
|
||||
}, false, true);
|
||||
await _trialDocumentRepository.SaveChangesAsync();
|
||||
|
|
|
|||
|
|
@ -46,11 +46,6 @@ public class SystemDocument : BaseFullDeleteAuditEntity
|
|||
|
||||
public bool IsPublish { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 发布时间
|
||||
/// </summary>
|
||||
public DateTime? PublishDate { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,11 +50,6 @@ public class TrialDocument : BaseFullDeleteAuditEntity
|
|||
/// </summary>
|
||||
|
||||
public bool IsPublish { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 发布时间
|
||||
/// </summary>
|
||||
public DateTime? PublishDate { get; set; }
|
||||
}
|
||||
|
||||
[Comment("项目签署文档附件")]
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,39 +0,0 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class PublishDate : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "PublishDate",
|
||||
table: "TrialDocument",
|
||||
type: "datetime2",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "PublishDate",
|
||||
table: "SystemDocument",
|
||||
type: "datetime2",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PublishDate",
|
||||
table: "TrialDocument");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PublishDate",
|
||||
table: "SystemDocument");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -10780,9 +10780,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.HasMaxLength(1000)
|
||||
.HasColumnType("nvarchar(1000)");
|
||||
|
||||
b.Property<DateTime?>("PublishDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<int>("SignViewMinimumMinutes")
|
||||
.HasColumnType("int");
|
||||
|
||||
|
|
@ -13049,9 +13046,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<DateTime?>("PublishDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<int>("SignViewMinimumMinutes")
|
||||
.HasColumnType("int");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue