修复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>
/// 单据头Id
/// </summary>
[Column("FId")]
public int FId { get; set; }
[Column("Fid")]
public int Fid { get; set; }
/// <summary>
/// 来源单号
///</summary>

View File

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

View File

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

View File

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