同步金蝶-代码处理提交

This commit is contained in:
tongfei
2023-12-15 14:04:26 +08:00
parent 6c4c973c16
commit d6c4208531
15 changed files with 548 additions and 50 deletions

View File

@@ -187,6 +187,11 @@ namespace WMS.Web.Repositories.Configuration
.WithOne()
.HasForeignKey(p => p.Fid)
.OnDelete(DeleteBehavior.Cascade);
ent.HasMany(p => p.ErpDetails)
.WithOne()
.HasForeignKey(p => p.Fid)
.OnDelete(DeleteBehavior.Cascade);
});
builder.Entity<InStockDetails>(ent =>
{
@@ -200,6 +205,11 @@ namespace WMS.Web.Repositories.Configuration
c => c.Aggregate(0, (a, v) => HashCode.Combine(a, v.GetHashCode())),
c => (List<string>)c.ToList()));
});
builder.Entity<InStockErpDetails>(ent =>
{
ent.ToTable("t_wms_instock_erp_details");
ent.HasKey(x => x.Id);
});
builder.Entity<InStockTotalDetails>(ent =>
{
ent.ToTable("t_wms_instock_total_details");