修复bug

This commit is contained in:
18942506660
2023-10-26 15:11:45 +08:00
parent 80fa4d2234
commit 23b623b52b
4 changed files with 9 additions and 9 deletions

View File

@@ -23,8 +23,8 @@ namespace WMS.Web.Domain.Entitys
/// <summary> /// <summary>
/// 单据头Id /// 单据头Id
/// </summary> /// </summary>
[Column("FId")] [Column("Fid")]
public int FId { get; set; } public int Fid { get; set; }
/// <summary> /// <summary>
/// 来源单号 /// 来源单号
///</summary> ///</summary>

View File

@@ -22,8 +22,8 @@ namespace WMS.Web.Domain.Entitys
/// <summary> /// <summary>
/// 单据头Id /// 单据头Id
/// </summary> /// </summary>
[Column("FId")] [Column("Fid")]
public int FId { get; set; } public int Fid { get; set; }
/// <summary> /// <summary>
/// 来源单号 /// 来源单号
///</summary> ///</summary>

View File

@@ -23,8 +23,8 @@ namespace WMS.Web.Domain.Entitys
/// <summary> /// <summary>
/// 单据头Id /// 单据头Id
/// </summary> /// </summary>
[Column("FId")] [Column("Fid")]
public int FId { get; set; } public int Fid { get; set; }
/// <summary> /// <summary>
/// 单据头Id /// 单据头Id
/// </summary> /// </summary>

View File

@@ -52,7 +52,7 @@ namespace WMS.Web.Repositories.Configuration
ent.HasMany(p => p.Details) ent.HasMany(p => p.Details)
.WithOne() .WithOne()
.HasForeignKey(p => p.FId) .HasForeignKey(p => p.Fid)
.OnDelete(DeleteBehavior.Cascade); .OnDelete(DeleteBehavior.Cascade);
}); });
builder.Entity<OutStockDetails>(ent => builder.Entity<OutStockDetails>(ent =>
@@ -70,7 +70,7 @@ namespace WMS.Web.Repositories.Configuration
ent.HasMany(p => p.Details) ent.HasMany(p => p.Details)
.WithOne() .WithOne()
.HasForeignKey(p => p.FId) .HasForeignKey(p => p.Fid)
.OnDelete(DeleteBehavior.Cascade); .OnDelete(DeleteBehavior.Cascade);
}); });
builder.Entity<OutStockTaskDetails>(ent => builder.Entity<OutStockTaskDetails>(ent =>
@@ -88,7 +88,7 @@ namespace WMS.Web.Repositories.Configuration
ent.HasMany(p => p.Details) ent.HasMany(p => p.Details)
.WithOne() .WithOne()
.HasForeignKey(p => p.FId) .HasForeignKey(p => p.Fid)
.OnDelete(DeleteBehavior.Cascade); .OnDelete(DeleteBehavior.Cascade);
}); });
builder.Entity<TakeStockDetails>(ent => builder.Entity<TakeStockDetails>(ent =>