上传文件到OSS 需要迁移
This commit is contained in:
@@ -1479,11 +1479,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||
|
||||
|
||||
// 一致性核查文件 是否需要单独一个表记录?
|
||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ConsistencyCheckFile)))
|
||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(InspectionFile)))
|
||||
{
|
||||
var type = GetEntityAuditOpt(item);
|
||||
|
||||
await InsertInspection<ConsistencyCheckFile>(item.Entity as ConsistencyCheckFile, type, x => new InspectionConvertDTO()
|
||||
await InsertInspection<InspectionFile>(item.Entity as InspectionFile, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
ObjectRelationParentId = x.TrialId
|
||||
|
||||
|
||||
@@ -495,7 +495,7 @@ namespace IRaCIS.Core.Infra.EFCore
|
||||
|
||||
public virtual DbSet<FrontAuditConfig> FrontAuditConfig { get; set; }
|
||||
|
||||
public virtual DbSet<ConsistencyCheckFile> ConsistencyCheckFile { get; set; }
|
||||
public virtual DbSet<InspectionFile> InspectionFile { get; set; }
|
||||
|
||||
public virtual DbSet<CommonDocument> CommonDocument { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user