From 7bd534ba5b06992e36a5fc0dfc65560748e45ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E6=99=94?= Date: Mon, 12 Jun 2023 09:12:37 +0800 Subject: [PATCH] no message --- .../ICSSoft.WMS.WebAPI/Web.config | 4 ++-- .../NFine.Application/WMS/PickMaterialApp.cs | 22 ------------------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config index f291968..82e67eb 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config +++ b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Web.config @@ -7,9 +7,9 @@ - + - + diff --git a/WMS-BS/NFine.Application/WMS/PickMaterialApp.cs b/WMS-BS/NFine.Application/WMS/PickMaterialApp.cs index 7831326..bb0023f 100644 --- a/WMS-BS/NFine.Application/WMS/PickMaterialApp.cs +++ b/WMS-BS/NFine.Application/WMS/PickMaterialApp.cs @@ -2035,28 +2035,6 @@ c.Sequence, #endregion - - - - #region 将拣料结果存入表中,以人员区分,每次存入之前清空对应人员存入的数据 - - string picksql = @"delete from ICSPickPrintTemp - where MUSER='{0}' AND WorkPoint='{1}'"; - picksql = string.Format(picksql, MUSER, WorkPoint); - SqlHelper.ExecuteNonQuery(picksql); - picksql = ""; - foreach (DataRow pickdr in table.Rows) - { - picksql += @" INSERT INTO ICSPickPrintTemp - (ID,DocNO,INVCode,iQuantity,WHCode,BinCode,LotNO,QTYTotal,SendQTY,MUSER,MUSERNAME,WorkPoint) - VALUES - (NEWID(),'{0}','{1}',{2},'{3}','{4}','{5}',{6},{7},'{8}','{9}','{10}')"; - picksql = string.Format(picksql, pickdr["Code"].ToString(), pickdr["InvCode"].ToString(), Convert.ToDecimal(pickdr["iQuantity"]) - , pickdr["WarehouseCode"].ToString(), pickdr["LocationCode"].ToString(), pickdr["LotNO"].ToString() - , Convert.ToDecimal(pickdr["QTYTotal"]), Convert.ToDecimal(pickdr["SendQTY"]), MUSER, MUSERNAME, WorkPoint); - } - SqlHelper.ExecuteNonQuery(picksql); - #endregion var result = ConvertCellToString(table); if (Invmes.Rows.Count > 0) {