|
|
@@ -48,7 +48,7 @@ namespace Business.EntityFrameworkCore
|
|
|
builder.Entity<ic_item_stockoccupy>(b =>
|
|
|
{
|
|
|
b.ToTable("ic_item_stockoccupy");
|
|
|
- b.HasIndex(b => new { b.icitem_id, b.tenant_id, b.company_id, b.factory_id });
|
|
|
+ b.HasIndex(b => new { b.orderentry_id,b.icitem_number,b.fversion, b.tenant_id, b.company_id, b.factory_id });
|
|
|
//²»Ó³Éäµ½Êý¾Ý¿âÖÐ
|
|
|
b.Ignore(x => x.bang_id);
|
|
|
b.ConfigureByConvention();
|