From 2cad690178b5373db94075f9355a390a7eba6a44 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期四, 22 八月 2024 13:53:44 +0800 Subject: [PATCH] 巡检适配 --- MES.Service/service/Warehouse/MesInvItemArnDetailManager.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MES.Service/service/Warehouse/MesInvItemArnDetailManager.cs b/MES.Service/service/Warehouse/MesInvItemArnDetailManager.cs index de91d70..0aab9dd 100644 --- a/MES.Service/service/Warehouse/MesInvItemArnDetailManager.cs +++ b/MES.Service/service/Warehouse/MesInvItemArnDetailManager.cs @@ -25,10 +25,10 @@ (c, t, u) => new object[] { JoinType.Left, - c.ItemId == t.Id && c.Company == t.Company && + c.ItemNo == t.ItemNo && c.Company == t.Company && c.Factory == t.Factory, JoinType.Left, - t.Fpurchaseunitid == u.Id && t.Factory == u.Factory && + t.Fpurchaseunitid == u.Id.ToString() && t.Factory == u.Factory && t.Company == u.Company }) .Where((c, t, u) => c.Mid == query.id) @@ -63,11 +63,11 @@ (a, d, b, c, t, z) => new object[] { JoinType.Inner, d.BillNo == a.LotNo, - JoinType.Inner, d.Id == b.Mid && b.ItemId == a.ItemId, + JoinType.Inner, d.Id == b.Mid && b.ItemNo == a.ItemNo, JoinType.Inner, - a.ItemId == c.Id && a.Company == c.Company && + a.ItemNo == c.ItemNo && a.Company == c.Company && a.Factory == c.Factory, - JoinType.Inner, c.Fpurchaseunitid == t.Id, + JoinType.Inner, c.Fpurchaseunitid == t.Id.ToString(), JoinType.Inner, z.ReleaseNo == a.ReleaseNo }) .Where((a, d, b, c, t, z) => a.FngHandle == "閫�璐�" && -- Gitblit v1.9.3