From aaa43064356658dc40b6fe11165db4a755c5a788 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期二, 24 六月 2025 15:34:18 +0800 Subject: [PATCH] 1.采购退货优化 2.引用云星空dll --- service/Warehouse/MesCgthSqManager.cs | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/service/Warehouse/MesCgthSqManager.cs b/service/Warehouse/MesCgthSqManager.cs index 9c23a05..dbb8747 100644 --- a/service/Warehouse/MesCgthSqManager.cs +++ b/service/Warehouse/MesCgthSqManager.cs @@ -103,8 +103,7 @@ using (var conn = new SqlConnection(DbHelperSQL.strConn)) { if (query.userName.IsNullOrEmpty()) throw new Exception("鐢ㄦ埛鍚嶄笉鍏佽涓虹┖"); - if (query.billNo.IsNullOrEmpty()) throw new Exception("棰嗘枡鍗曞彿涓嶅厑璁镐负绌�"); - if (query.barcode.IsNullOrEmpty()) throw new Exception("鏉$爜涓嶅厑璁镐负绌�"); + if (query.billNo.IsNullOrEmpty()) throw new Exception("鐢宠鍗曞彿涓嶅厑璁镐负绌�"); if (query.barcode.IsNullOrEmpty()) throw new Exception("鏉$爜涓嶅厑璁镐负绌�"); using (var cmd = new SqlCommand("[prc_pda_CGTH]", conn)) { @@ -140,7 +139,7 @@ var dto = new ProductionPickDto { - daa001 = query.daa001, + daa001 = query.billNo, barcodeNum = barcodeNum, splitNum = splitNum, barcode = query.barcode, @@ -165,7 +164,7 @@ public ProductionPickDto ScanCodeCF(WarehouseQuery query) { if (query.userName.IsNullOrEmpty()) throw new Exception("鐢ㄦ埛鍚嶄笉鍏佽涓虹┖"); - if (query.daa001.IsNullOrEmpty()) throw new Exception("棰嗘枡鍗曞彿涓嶅厑璁镐负绌�"); + if (query.billNo.IsNullOrEmpty()) throw new Exception("鐢宠鍗曞彿涓嶅厑璁镐负绌�"); if (query.barcode.IsNullOrEmpty()) throw new Exception("鏉$爜涓嶅厑璁镐负绌�"); if (query.Num is null or 0) throw new Exception("鏉$爜鎷嗗垎鏁颁笉鍏佽涓虹┖鎴栬�呬负0"); @@ -187,7 +186,7 @@ new("@outSum", SqlDbType.NVarChar, 300), new("@outCfBar", SqlDbType.NVarChar, 300), new("@c_User", query.userName), - new("@p_biLL_no", query.daa001), + new("@p_biLL_no", query.billNo), new("@p_item_barcode", query.barcode), new("@num", query.Num) }; @@ -207,7 +206,7 @@ var dto = new ProductionPickDto { - daa001 = query.daa001, + daa001 = query.billNo, barcode = query.barcode,//鍘熸潯鐮� cfBarcode = _cfBar//鎷嗗垎鍚庢潯鐮� }; -- Gitblit v1.9.3