From a93f223d3beccc9f842ec42dd9f7aa856fcf8410 Mon Sep 17 00:00:00 2001 From: yangtm Date: Wed, 26 Jun 2024 16:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=93=81=E8=87=AA=E5=8A=A8=E5=85=A5?= =?UTF-8?q?=E5=BA=93108=E5=BA=93=E5=85=A5=E5=BA=93=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=82=A8=E4=BD=8D108-108-GJ?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.FromERP/ICSSoft.FromERP/ICSWareHouseLotInfoDoc.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSWareHouseLotInfoDoc.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSWareHouseLotInfoDoc.cs index 77aad87..5933830 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSWareHouseLotInfoDoc.cs +++ b/ICSSoft.FromERP/ICSSoft.FromERP/ICSWareHouseLotInfoDoc.cs @@ -69,6 +69,10 @@ namespace ICSSoft.FromERP string sequence = data.Sequence; var warehouse = db.ICSWarehouse.SingleOrDefault(e => e.WarehouseCode == data.WHCode && e.WorkPoint == data.WorkPoint); string location = db.ICSLocation.Where(e => e.WHID == warehouse.ID && e.WorkPoint == workPoint).FirstOrDefault()?.LocationCode; + if (data.WHCode=="108") + { + location = "108-108-GJ"; + } log.Info(location); string sql = $@"EXEC Addins_GetSerialCode '{workPoint}','ICSInventoryLot','LotNO','KCP{rcvCode}{sequence}',5;"; log.Info(sql);