From ac9a633fb842b56ce9f619fb8394db94fda9b7ac Mon Sep 17 00:00:00 2001 From: "ruoxing.wang" <88384874@qq.com> Date: Fri, 20 Jun 2025 17:00:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E4=BB=B6=E5=8F=B7=E5=B8=A6-9999?= =?UTF-8?q?=E7=9A=84,=E7=BB=99wms=E6=8A=A5=E5=B7=A5=E6=97=B6=E6=8A=8A-9999?= =?UTF-8?q?=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebService/Function.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/WebService/Function.cs b/WebService/Function.cs index 0ac48a4..a3db1f2 100644 --- a/WebService/Function.cs +++ b/WebService/Function.cs @@ -981,7 +981,13 @@ namespace Webservice WMS03Model wmsM = new WMS03Model(); wmsM.BarCode = barcode; wmsM.WmsBarCode = ""; - wmsM.LU_Code = lu_code; + + string lucodenew = lu_code; + if(lu_code.EndsWith("-9999")) + { + lucodenew = lu_code.Replace("-9999", ""); + } + wmsM.LU_Code = lucodenew; wmsM.Batch = batchNo; wmsM.Q_level = ""; wmsM.CreationTime = DateTime.Now;