diff --git a/ZR.Service/mes/wms/WmFgentryInspectService.cs b/ZR.Service/mes/wms/WmFgentryInspectService.cs index 8ba482a4..436a492b 100644 --- a/ZR.Service/mes/wms/WmFgentryInspectService.cs +++ b/ZR.Service/mes/wms/WmFgentryInspectService.cs @@ -51,7 +51,7 @@ namespace ZR.Service.mes.wms var x = Context.Storageable(inpects) - .WhereColumns(it => it.Packcode) + .WhereColumns(it =>new { it.Packcode ,it.Workorder}) .ToStorage(); sum= x.AsInsertable.ExecuteCommand();//不存在插入 x.AsUpdateable.ExecuteCommand();//存在更新