调整盘点单

This commit is contained in:
18942506660
2023-11-01 11:08:59 +08:00
parent 9dd32beba4
commit 54b894c5dd
3 changed files with 75 additions and 28 deletions

View File

@@ -91,10 +91,10 @@ namespace WMS.Web.Repositories.Configuration
ent.ToTable("t_wms_takestock");
ent.HasKey(x => x.Id);
ent.HasMany(p => p.Details)
.WithOne()
.HasForeignKey(p => p.Fid)
.OnDelete(DeleteBehavior.Cascade);
//ent.HasMany(p => p.Details)
// .WithOne()
// .HasForeignKey(p => p.Fid)
// .OnDelete(DeleteBehavior.Cascade);
});
builder.Entity<TakeStockDetails>(ent =>
{