From e4e1d2b2c1f13cd89514e59eb42fc50f1332262e Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期一, 26 九月 2022 21:17:00 +0800
Subject: [PATCH] 优化
---
WebAPI/Controllers/ProductInController.cs | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/WebAPI/Controllers/ProductInController.cs b/WebAPI/Controllers/ProductInController.cs
index 2a470d0..2ea6533 100644
--- a/WebAPI/Controllers/ProductInController.cs
+++ b/WebAPI/Controllers/ProductInController.cs
@@ -39,6 +39,7 @@
//public string sSourceType = "3710";
public WebServer webserver = new WebServer();
public DataSet ds = new DataSet();
+
public ClsGy_BarCodeBill_WMS_Model_View oView = new ClsGy_BarCodeBill_WMS_Model_View();
public ClsKF_PonderationBillMain_Temp model = new ClsKF_PonderationBillMain_Temp();
public ClsKf_ICStockBill_WMS oBar = new Model.ClsKf_ICStockBill_WMS();
@@ -479,10 +480,12 @@
websLsmain.HExplanation = lsmain[0].HExplanation;
websLsmain.HGroupID = lsmain[0].HGroupID;
websLsmain.HJiaYe = lsmain[0].HJiaYe;
-
- //public Int64 HGroupID;//
- //public string HJiaYe;//
-
+
+ //淇濆瓨浜哄憳
+ SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
+ string saveGroupEmpsql = $"exec h_p_saveGroupEmp '{lsmain[0].HMaker}','{lsmain[0].HGroupID}',{lsmain[0].HJiaYe.Split(',')[0]},{lsmain[0].HJiaYe.Split(',')[1]},'{lsmain[0].HJiaYe}'";
+
+ oCn.RunProc(saveGroupEmpsql);
if (webserver.set_SaveProductInBill_New(websLsmain, sSourceBillType, ref DBUtility.ClsPub.sErrInfo))
{
--
Gitblit v1.9.1