From 36746596927952a6b860129a62eec9059bf083a7 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期六, 26 四月 2025 18:06:27 +0800 Subject: [PATCH] 优化了备料逻辑 --- Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs b/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs index 5546b7f..e8b4682 100644 --- a/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs +++ b/Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs @@ -109,12 +109,12 @@ snLst.Add(new BIZ_WMS_TRANSFER_SN() { AUTH_ORG = warehouse.OrgCode, - BILLCODE = input.BillCode, + ORDER_NO = input.BillCode, SN = item.SN, STATUS = WMS_ITEM.STATUSs.WaitIn.GetValue(), ITEM_CODE = snData.Where(i => i.SN == item.SN).FirstOrDefault()?.ITEM_CODE, QTY = item.Qty, - BILLLINE = dicitemcode[item.ItemCode] + ORDER_LINE = dicitemcode[item.ItemCode] }); } } @@ -209,7 +209,7 @@ if (snLst.Any()) { - var history = db.Queryable<BIZ_WMS_TRANSFER_SN>().Where(i => i.BILLCODE == input.BillCode).ToList(); + var history = db.Queryable<BIZ_WMS_TRANSFER_SN>().Where(i => i.ORDER_NO == input.BillCode).ToList(); if (history.Any()) { db.Deleteable(history).ExecuteCommand(); -- Gitblit v1.9.3