From bb09b08f7ae3dd528f47d6c860e2a0abef7e6a6b Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期二, 09 八月 2022 16:06:31 +0800
Subject: [PATCH] 修改了快速生成条码模块条码生成方法

---
 NETERPNoWin/bin/x86/Debug/grdWidth.wyini                            |    2 
 NETERPNoWin/obj/x86/Debug/Interop.gregn6Lib.dll                     |    0 
 NETERPNoWin/bin/x86/Debug/Pub_Class.pdb                             |    0 
 WarM/条码打印/Sc_ICMOToBarCode.cs                                       |   35 ++++++++---
 WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user         |   34 +++++-----
 Kanban/Sc_CJKB.cs                                                   |   19 +++---
 NETERPNoWin/bin/x86/Debug/Kanban.dll                                |    0 
 NETERPNoWin/bin/x86/Debug/WorkM.dll                                 |    0 
 NETERPNoWin/bin/x86/Debug/BaseSet.dll                               |    0 
 WebAPI/WebAPI.csproj.user                                           |    2 
 NETERPNoWin/bin/x86/Debug/OAM.pdb                                   |    0 
 NETERPNoWin/bin/x86/Debug/Pub_Class.dll                             |    0 
 NETERPNoWin/obj/x86/Debug/NETERPNoWin.exe                           |    0 
 NETERPNoWin/bin/x86/Debug/BaseSet.pdb                               |    0 
 NETERPNoWin/bin/x86/Debug/DBUtility.dll                             |    0 
 NETERPNoWin/bin/x86/Debug/Kanban.pdb                                |    0 
 NETERPNoWin/bin/x86/Debug/BLL.dll                                   |    0 
 NETERPNoWin/bin/x86/Debug/Pub_Control.dll                           |    0 
 NETERPNoWin/bin/x86/Debug/DBUtility.pdb                             |    0 
 NETERPNoWin/bin/x86/Debug/Interop.gregn6Lib.dll                     |    0 
 NETERPNoWin/bin/x86/Debug/SQLHelper.dll                             |    0 
 NETERPNoWin/bin/x86/Debug/BLL.pdb                                   |    0 
 LMES/bin/x86/Debug.zip                                              |    0 
 NETERPNoWin/bin/x86/Debug/Model.pdb                                 |    0 
 NETERPNoWin/bin/x86/Debug/DAL.pdb                                   |    0 
 NETERPNoWin/bin/x86/Debug.zip                                       |    0 
 NETERPNoWin/bin/x86/Debug/NETERPNoWin.exe                           |    0 
 NETERPNoWin/bin/x86/Debug/SQLHelper.pdb                             |    0 
 NETERPNoWin/bin/x86/Debug/Pub_Control.pdb                           |    0 
 NETERPNoWin/obj/x86/Debug/NETERPNoWin.csprojAssemblyReference.cache |    0 
 NETERPNoWin/obj/x86/Debug/NETERPNoWin.pdb                           |    0 
 /dev/null                                                           |    0 
 NETERPNoWin/bin/x86/Debug/PlanM.dll                                 |    0 
 NETERPNoWin/bin/x86/Debug/DAL.dll                                   |    0 
 NETERPNoWin/bin/x86/Debug/NETERPNoWin.pdb                           |    0 
 NETERPNoWin/bin/x86/Debug/WarM.pdb                                  |    0 
 NETERPNoWin/bin/x86/Debug/OAM.dll                                   |    0 
 NETERPNoWin/bin/x86/Debug/HXERP.ini                                 |   43 +++----------
 NETERPNoWin/bin/x86/Debug/WarM.dll                                  |    0 
 NETERPNoWin/bin/x86/Debug/WorkM.pdb                                 |    0 
 NETERPNoWin/bin/x86/Debug/Model.dll                                 |    0 
 NETERPNoWin/bin/x86/Debug/PlanM.pdb                                 |    0 
 42 files changed, 65 insertions(+), 70 deletions(-)

diff --git a/Kanban/Sc_CJKB.cs b/Kanban/Sc_CJKB.cs
index 055ee65..384539a 100644
--- a/Kanban/Sc_CJKB.cs
+++ b/Kanban/Sc_CJKB.cs
@@ -101,15 +101,16 @@
                 //-----------棰勮鐘舵��
                 //寮�宸ユ椂闂村皬浜庡綋澶╂椂闂达紝浣嗘槸浠诲姟鍗曠姸鎬佽繕鏄� 寰呯敓浜э紝绯荤粺鑷姩榛勮壊璀︾ず锛�
                 //瀹屽伐鏃堕棿灏忎簬褰撳ぉ鏃堕棿锛屼絾鏄换鍔″崟杩樻槸寰呯敓浜ф垨鑰呭湪鎵ц鐨勶紝绯荤粺鑷姩绾㈣壊璀︾ず锛�
-                int HEDateCol = Fun_GetCol("璁″垝瀹屽伐鏃ユ湡");
-                DateTime oNow = DateTime.Today.Date;
-                for (int i = 0; i < grdMain.Rows.Count; i++)
-                {
-                    if (DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HEDateCol].Value) < oNow)
-                    {
-                        grdMain.Rows[i].DefaultCellStyle.ForeColor = Color.Red;
-                    }
-                }
+
+                //int HEDateCol = Fun_GetCol("璁″垝瀹屽伐鏃ユ湡");
+                //DateTime oNow = DateTime.Today.Date;
+                //for (int i = 0; i < grdMain.Rows.Count; i++)
+                //{
+                //    if (DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HEDateCol].Value) < oNow)
+                //    {
+                //        grdMain.Rows[i].DefaultCellStyle.ForeColor = Color.Red;
+                //    }
+                //}
 
                 //璁剧疆鍚堣鍒�
                 string sTotalCol = "";
diff --git a/LMES/bin/x86/Debug.zip b/LMES/bin/x86/Debug.zip
index 2dc4dd0..cc0f1b0 100644
--- a/LMES/bin/x86/Debug.zip
+++ b/LMES/bin/x86/Debug.zip
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug.zip b/NETERPNoWin/bin/x86/Debug.zip
index a62cd05..5916d45 100644
--- a/NETERPNoWin/bin/x86/Debug.zip
+++ b/NETERPNoWin/bin/x86/Debug.zip
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/BLL.dll b/NETERPNoWin/bin/x86/Debug/BLL.dll
index 62a197f..d606545 100644
--- a/NETERPNoWin/bin/x86/Debug/BLL.dll
+++ b/NETERPNoWin/bin/x86/Debug/BLL.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/BLL.pdb b/NETERPNoWin/bin/x86/Debug/BLL.pdb
index 90ab76e..049b722 100644
--- a/NETERPNoWin/bin/x86/Debug/BLL.pdb
+++ b/NETERPNoWin/bin/x86/Debug/BLL.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/BaseSet.dll b/NETERPNoWin/bin/x86/Debug/BaseSet.dll
index c2f29ef..37b94d2 100644
--- a/NETERPNoWin/bin/x86/Debug/BaseSet.dll
+++ b/NETERPNoWin/bin/x86/Debug/BaseSet.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/BaseSet.pdb b/NETERPNoWin/bin/x86/Debug/BaseSet.pdb
index bbb7b1f..e1cb8a6 100644
--- a/NETERPNoWin/bin/x86/Debug/BaseSet.pdb
+++ b/NETERPNoWin/bin/x86/Debug/BaseSet.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/DAL.dll b/NETERPNoWin/bin/x86/Debug/DAL.dll
index f51a1e5..ffbcc5d 100644
--- a/NETERPNoWin/bin/x86/Debug/DAL.dll
+++ b/NETERPNoWin/bin/x86/Debug/DAL.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/DAL.pdb b/NETERPNoWin/bin/x86/Debug/DAL.pdb
index 1f3ab8d..248e5b2 100644
--- a/NETERPNoWin/bin/x86/Debug/DAL.pdb
+++ b/NETERPNoWin/bin/x86/Debug/DAL.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/DBUtility.dll b/NETERPNoWin/bin/x86/Debug/DBUtility.dll
index b1aeb55..d2e6638 100644
--- a/NETERPNoWin/bin/x86/Debug/DBUtility.dll
+++ b/NETERPNoWin/bin/x86/Debug/DBUtility.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/DBUtility.pdb b/NETERPNoWin/bin/x86/Debug/DBUtility.pdb
index 4314e15..d228415 100644
--- a/NETERPNoWin/bin/x86/Debug/DBUtility.pdb
+++ b/NETERPNoWin/bin/x86/Debug/DBUtility.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/HXERP.ini b/NETERPNoWin/bin/x86/Debug/HXERP.ini
index 44f071a..ec3c589 100644
--- a/NETERPNoWin/bin/x86/Debug/HXERP.ini
+++ b/NETERPNoWin/bin/x86/Debug/HXERP.ini
@@ -1,46 +1,25 @@
-[po]
-Server=47.96.97.237,15127
 [Erp]
-Server=47.96.97.237,15127
+Server=192.168.0.88
 DataBase=HX_LMESsys
-DataBaseNumber=001-智云LMES管理系统
+DataBaseNumber=001-WMS条码系统
 UserName=HX_USER
 PassWord=lc@841022
-UserPsd=
-Remember=
-[Srm]
-Server=47.96.97.237,15127
-DataBase=HX_LMESsys
-DataBaseNumber=001-ERP供应商协同平台
-UserName=HX_USER
-PassWord=lc@841022
-UserPsd=
-Remember=
 [K3Erp]
-Server=47.96.97.237,15127
-DataBase=
-UserName=HX_USER
-PassWord=lc@841022
-[K32Erp]
-Server=47.96.97.237,15127
+Server=192.168.0.88
 DataBase=HX_LMESsys
 UserName=HX_USER
 PassWord=lc@841022
 [UserInfo]
-UserName=admin,33.995,001,宁波海关驻慈溪办事处,景焕章
+UserName=admin,王平,测试人员,jhz,001,景焕章,周黄阳,没有找到!
 UserPsd=
 Remember=1
-HOrgName=蓝海实业集团
-[CLOUDINFO]
-
-sCLOUDUrl=http://47.96.97.237/k3cloud/
-sCLOUDAcc=6204a70eba35fc
-sCLOUDUseName=demo
-sCLOUDPsd=888888
+HOrgName=宁波奥邦喷雾器有限公司
+[K32Erp]
+Server=没有找到!
+DataBase=没有找到!
+UserName=没有找到!
+PassWord=没有找到!
 [OPenWin]
 gnbm=Sc9910
 gnsy=Sc_WorkBillPlanSumReportKB
-gnmc=车间看板
-[Dept]
-DeptID=没有找到!
-DeptName=没有找到!
+gnmc=车间看板
\ No newline at end of file
diff --git a/NETERPNoWin/bin/x86/Debug/HX_Update.exe b/NETERPNoWin/bin/x86/Debug/HX_Update.exe
deleted file mode 100644
index 29fcf96..0000000
--- a/NETERPNoWin/bin/x86/Debug/HX_Update.exe
+++ /dev/null
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/Interop.gregn6Lib.dll b/NETERPNoWin/bin/x86/Debug/Interop.gregn6Lib.dll
index c844bc0..d625ca8 100644
--- a/NETERPNoWin/bin/x86/Debug/Interop.gregn6Lib.dll
+++ b/NETERPNoWin/bin/x86/Debug/Interop.gregn6Lib.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/Kanban.dll b/NETERPNoWin/bin/x86/Debug/Kanban.dll
index 57cbc56..d605821 100644
--- a/NETERPNoWin/bin/x86/Debug/Kanban.dll
+++ b/NETERPNoWin/bin/x86/Debug/Kanban.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/Kanban.pdb b/NETERPNoWin/bin/x86/Debug/Kanban.pdb
index c52e58b..63385c6 100644
--- a/NETERPNoWin/bin/x86/Debug/Kanban.pdb
+++ b/NETERPNoWin/bin/x86/Debug/Kanban.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/Model.dll b/NETERPNoWin/bin/x86/Debug/Model.dll
index 96d03cf..30a24ed 100644
--- a/NETERPNoWin/bin/x86/Debug/Model.dll
+++ b/NETERPNoWin/bin/x86/Debug/Model.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/Model.pdb b/NETERPNoWin/bin/x86/Debug/Model.pdb
index 5d28b9a..05bdb7b 100644
--- a/NETERPNoWin/bin/x86/Debug/Model.pdb
+++ b/NETERPNoWin/bin/x86/Debug/Model.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/NETERPNoWin.exe b/NETERPNoWin/bin/x86/Debug/NETERPNoWin.exe
index e6efcd5..4aa1843 100644
--- a/NETERPNoWin/bin/x86/Debug/NETERPNoWin.exe
+++ b/NETERPNoWin/bin/x86/Debug/NETERPNoWin.exe
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/NETERPNoWin.pdb b/NETERPNoWin/bin/x86/Debug/NETERPNoWin.pdb
index c0443f4..fbb3a51 100644
--- a/NETERPNoWin/bin/x86/Debug/NETERPNoWin.pdb
+++ b/NETERPNoWin/bin/x86/Debug/NETERPNoWin.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/OAM.dll b/NETERPNoWin/bin/x86/Debug/OAM.dll
index a3e94e3..a07b9c1 100644
--- a/NETERPNoWin/bin/x86/Debug/OAM.dll
+++ b/NETERPNoWin/bin/x86/Debug/OAM.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/OAM.pdb b/NETERPNoWin/bin/x86/Debug/OAM.pdb
index 21fb289..6b4fc0c 100644
--- a/NETERPNoWin/bin/x86/Debug/OAM.pdb
+++ b/NETERPNoWin/bin/x86/Debug/OAM.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/PlanM.dll b/NETERPNoWin/bin/x86/Debug/PlanM.dll
index db17776..5f95d5d 100644
--- a/NETERPNoWin/bin/x86/Debug/PlanM.dll
+++ b/NETERPNoWin/bin/x86/Debug/PlanM.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/PlanM.pdb b/NETERPNoWin/bin/x86/Debug/PlanM.pdb
index c1b1523..92cec6a 100644
--- a/NETERPNoWin/bin/x86/Debug/PlanM.pdb
+++ b/NETERPNoWin/bin/x86/Debug/PlanM.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/Pub_Class.dll b/NETERPNoWin/bin/x86/Debug/Pub_Class.dll
index cbd4d70..e068e61 100644
--- a/NETERPNoWin/bin/x86/Debug/Pub_Class.dll
+++ b/NETERPNoWin/bin/x86/Debug/Pub_Class.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/Pub_Class.pdb b/NETERPNoWin/bin/x86/Debug/Pub_Class.pdb
index 9cd4514..18cf7d7 100644
--- a/NETERPNoWin/bin/x86/Debug/Pub_Class.pdb
+++ b/NETERPNoWin/bin/x86/Debug/Pub_Class.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/Pub_Control.dll b/NETERPNoWin/bin/x86/Debug/Pub_Control.dll
index 86efcc3..19b77bb 100644
--- a/NETERPNoWin/bin/x86/Debug/Pub_Control.dll
+++ b/NETERPNoWin/bin/x86/Debug/Pub_Control.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/Pub_Control.pdb b/NETERPNoWin/bin/x86/Debug/Pub_Control.pdb
index 447350a..f1df76b 100644
--- a/NETERPNoWin/bin/x86/Debug/Pub_Control.pdb
+++ b/NETERPNoWin/bin/x86/Debug/Pub_Control.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/SQLHelper.dll b/NETERPNoWin/bin/x86/Debug/SQLHelper.dll
index 1ff113f..551218a 100644
--- a/NETERPNoWin/bin/x86/Debug/SQLHelper.dll
+++ b/NETERPNoWin/bin/x86/Debug/SQLHelper.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/SQLHelper.pdb b/NETERPNoWin/bin/x86/Debug/SQLHelper.pdb
index 75254ae..0b3ac68 100644
--- a/NETERPNoWin/bin/x86/Debug/SQLHelper.pdb
+++ b/NETERPNoWin/bin/x86/Debug/SQLHelper.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/WarM.dll b/NETERPNoWin/bin/x86/Debug/WarM.dll
index 3707c6f..8904b9a 100644
--- a/NETERPNoWin/bin/x86/Debug/WarM.dll
+++ b/NETERPNoWin/bin/x86/Debug/WarM.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/WarM.pdb b/NETERPNoWin/bin/x86/Debug/WarM.pdb
index e88e2bb..2607b3e 100644
--- a/NETERPNoWin/bin/x86/Debug/WarM.pdb
+++ b/NETERPNoWin/bin/x86/Debug/WarM.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/WorkM.dll b/NETERPNoWin/bin/x86/Debug/WorkM.dll
index 81022db..ed2dfb9 100644
--- a/NETERPNoWin/bin/x86/Debug/WorkM.dll
+++ b/NETERPNoWin/bin/x86/Debug/WorkM.dll
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/WorkM.pdb b/NETERPNoWin/bin/x86/Debug/WorkM.pdb
index 82305d4..1dac6d9 100644
--- a/NETERPNoWin/bin/x86/Debug/WorkM.pdb
+++ b/NETERPNoWin/bin/x86/Debug/WorkM.pdb
Binary files differ
diff --git a/NETERPNoWin/bin/x86/Debug/grdWidth.wyini b/NETERPNoWin/bin/x86/Debug/grdWidth.wyini
index 836addf..124a15b 100644
--- a/NETERPNoWin/bin/x86/Debug/grdWidth.wyini
+++ b/NETERPNoWin/bin/x86/Debug/grdWidth.wyini
@@ -54,4 +54,4 @@
 Sc_WorkBillProcProdReportKB=193,556,523,112
 Sc_HZQLCGKB=11,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100
 frmDownMenu任务单设置=100,135,100
-Sc_CJKB=
+Sc_CJKB=100,428,301,100,273,372
diff --git a/NETERPNoWin/obj/x86/Debug/Interop.gregn6Lib.dll b/NETERPNoWin/obj/x86/Debug/Interop.gregn6Lib.dll
index c844bc0..d625ca8 100644
--- a/NETERPNoWin/obj/x86/Debug/Interop.gregn6Lib.dll
+++ b/NETERPNoWin/obj/x86/Debug/Interop.gregn6Lib.dll
Binary files differ
diff --git a/NETERPNoWin/obj/x86/Debug/NETERPNoWin.csprojAssemblyReference.cache b/NETERPNoWin/obj/x86/Debug/NETERPNoWin.csprojAssemblyReference.cache
index 4ae63c9..2cedffa 100644
--- a/NETERPNoWin/obj/x86/Debug/NETERPNoWin.csprojAssemblyReference.cache
+++ b/NETERPNoWin/obj/x86/Debug/NETERPNoWin.csprojAssemblyReference.cache
Binary files differ
diff --git a/NETERPNoWin/obj/x86/Debug/NETERPNoWin.exe b/NETERPNoWin/obj/x86/Debug/NETERPNoWin.exe
index e6efcd5..4aa1843 100644
--- a/NETERPNoWin/obj/x86/Debug/NETERPNoWin.exe
+++ b/NETERPNoWin/obj/x86/Debug/NETERPNoWin.exe
Binary files differ
diff --git a/NETERPNoWin/obj/x86/Debug/NETERPNoWin.pdb b/NETERPNoWin/obj/x86/Debug/NETERPNoWin.pdb
index c0443f4..fbb3a51 100644
--- a/NETERPNoWin/obj/x86/Debug/NETERPNoWin.pdb
+++ b/NETERPNoWin/obj/x86/Debug/NETERPNoWin.pdb
Binary files differ
diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs"
index 2e60eae..27b3428 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.cs"
@@ -875,17 +875,32 @@
                 long HTMaterID = 0;
                 HTMaterID = ClsPub.isLong(grdMain.Rows[0].Cells[Fun_GetCol("HMaterID")].Value);
                 string sPackStr = "ZXM" + HYear + HPeriod + HDay + HTMaterID; //澶栫鐮� 鍓嶇紑
+
+
+                //鑾峰彇澶勭悊杩囩殑鏃ユ湡璺熶粖澶╁樊鍑犲ぉ  鐒跺悗鍔犲嚑涓�+鍙�
+                TimeSpan HCY = Convert.ToDateTime(HPrdDate) - Convert.ToDateTime(DateTime.Now.ToString());
+                int a = 1;
+                while (a <= HCY.Days)  //褰揳 灏忎簬 宸紓澶╂暟  寰幆鍔犱笂 + 鍙�
+                {
+                    HPrdDate = HPrdDate + "+";
+                    a = a + 1;
+                }
                 DataSet DsTM = oCn.RunProcReturn("exec h_p_WMS_GetMaxNo '" + sPackStr + "'", "h_p_WMS_GetMaxNo");    //鑾峰彇鏈�澶ф祦姘村彿                                                                                          //oCn.RunProc("exec h_p_WMS_SetMaxNo '" + sTMNumber + "'");
                 Int64 TTM_LSH = ClsPub.isInt(DsTM.Tables[0].Rows[0][0]) + 1;
-                DataSet DSet3 = oCn.RunProcReturn("select * from Gy_FactoryDayOff Where HFactoryDayOffDate='" + HDate1.ToString() + "'", "Gy_FactoryDayOff", ref DBUtility.ClsPub.sExeReturnInfo);
-                if (DSet3 == null || DSet3.Tables[0].Rows.Count == 0)
-                {
-                    sPackBarCode = sPackStr + TTM_LSH.ToString() ;
-                }
-                else
-                {
-                    sPackBarCode = sPackStr + TTM_LSH.ToString() + "+";
-                }
+
+
+                sPackBarCode = sPackStr + TTM_LSH.ToString();
+                //DataSet DSet3 = oCn.RunProcReturn("select * from Gy_FactoryDayOff Where HFactoryDayOffDate='" + HDate1.ToString() + "'", "Gy_FactoryDayOff", ref DBUtility.ClsPub.sExeReturnInfo);
+                //if (DSet3 == null || DSet3.Tables[0].Rows.Count == 0)
+                //{
+                //    sPackBarCode = sPackStr + TTM_LSH.ToString() ;
+                //}
+                //else
+                //{
+                //    sPackBarCode = sPackStr + TTM_LSH.ToString() + "+";
+                //}
+
+
                 oCn.RunProc("exec h_p_WMS_SetMaxNo '" + sPackStr + "'");
 
 
@@ -978,7 +993,7 @@
                         HJT = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[Fun_GetCol("璁惧")].Value);
                         HXH = HYear + HPeriod + HDay + HBC + HJT + HMaterNumber;
                         Ds99 = oCn.RunProcReturn("exec h_p_WMS_GetMaxNo '" + HXH + "'", "h_p_WMS_GetMaxNo");    //鑾峰彇鏈�澶ф祦姘村彿
-                        LSH3 = ClsPub.isInt(Ds99.Tables[0].Rows[0][0]);
+                        LSH3 = ClsPub.isInt(Ds99.Tables[0].Rows[0][0]) + 1;
                         LSH4 = LSH3.ToString();
 
 
diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
index ccefbb1..f12989a 100644
--- a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
+++ b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -18,28 +18,28 @@
       <publishTime>02/22/2013 16:43:40</publishTime>
     </File>
     <File Include="bin/BLL.dll">
-      <publishTime>07/31/2022 16:05:34</publishTime>
+      <publishTime>08/08/2022 14:58:19</publishTime>
     </File>
     <File Include="bin/BLL.pdb">
-      <publishTime>07/31/2022 16:05:34</publishTime>
+      <publishTime>08/08/2022 14:58:19</publishTime>
     </File>
     <File Include="bin/BouncyCastle.Crypto.dll">
       <publishTime>12/18/2020 05:32:28</publishTime>
     </File>
     <File Include="bin/DAL.dll">
-      <publishTime>07/31/2022 16:05:32</publishTime>
+      <publishTime>08/08/2022 14:58:18</publishTime>
     </File>
     <File Include="bin/DAL.pdb">
-      <publishTime>07/31/2022 16:05:32</publishTime>
+      <publishTime>08/08/2022 14:58:18</publishTime>
     </File>
     <File Include="bin/Dapper.dll">
       <publishTime>07/22/2016 22:52:40</publishTime>
     </File>
     <File Include="bin/DBUtility.dll">
-      <publishTime>07/31/2022 16:05:26</publishTime>
+      <publishTime>08/08/2022 14:58:16</publishTime>
     </File>
     <File Include="bin/DBUtility.pdb">
-      <publishTime>07/31/2022 16:05:26</publishTime>
+      <publishTime>08/08/2022 14:58:16</publishTime>
     </File>
     <File Include="bin/Grpc.Core.Api.dll">
       <publishTime>03/22/2022 13:17:26</publishTime>
@@ -93,10 +93,10 @@
       <publishTime>07/25/2012 19:48:56</publishTime>
     </File>
     <File Include="bin/Model.dll">
-      <publishTime>07/31/2022 16:05:28</publishTime>
+      <publishTime>08/08/2022 14:58:17</publishTime>
     </File>
     <File Include="bin/Model.pdb">
-      <publishTime>07/31/2022 16:05:28</publishTime>
+      <publishTime>08/08/2022 14:58:17</publishTime>
     </File>
     <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs">
       <publishTime>03/15/2022 10:06:42</publishTime>
@@ -129,22 +129,22 @@
       <publishTime>10/23/2021 17:07:54</publishTime>
     </File>
     <File Include="bin/Pub_Class.dll">
-      <publishTime>07/31/2022 16:05:24</publishTime>
+      <publishTime>08/08/2022 14:58:15</publishTime>
     </File>
     <File Include="bin/Pub_Class.pdb">
-      <publishTime>07/31/2022 16:05:24</publishTime>
+      <publishTime>08/08/2022 14:58:15</publishTime>
     </File>
     <File Include="bin/Pub_Control.dll">
-      <publishTime>07/31/2022 16:05:25</publishTime>
+      <publishTime>08/08/2022 14:58:15</publishTime>
     </File>
     <File Include="bin/Pub_Control.pdb">
-      <publishTime>07/31/2022 16:05:25</publishTime>
+      <publishTime>08/08/2022 14:58:15</publishTime>
     </File>
     <File Include="bin/SQLHelper.dll">
-      <publishTime>07/31/2022 16:05:25</publishTime>
+      <publishTime>08/08/2022 14:58:15</publishTime>
     </File>
     <File Include="bin/SQLHelper.pdb">
-      <publishTime>07/31/2022 16:05:25</publishTime>
+      <publishTime>08/08/2022 14:58:15</publishTime>
     </File>
     <File Include="bin/stdole.dll">
       <publishTime>05/09/2021 13:35:37</publishTime>
@@ -255,13 +255,13 @@
       <publishTime>11/24/2014 19:18:48</publishTime>
     </File>
     <File Include="bin/WebAPI.dll">
-      <publishTime>07/31/2022 16:05:39</publishTime>
+      <publishTime>08/08/2022 14:58:22</publishTime>
     </File>
     <File Include="bin/WebAPI.dll.config">
       <publishTime>12/15/2021 17:59:43</publishTime>
     </File>
     <File Include="bin/WebAPI.pdb">
-      <publishTime>07/31/2022 16:05:39</publishTime>
+      <publishTime>08/08/2022 14:58:22</publishTime>
     </File>
     <File Include="bin/WebGrease.dll">
       <publishTime>07/18/2013 01:03:52</publishTime>
@@ -459,7 +459,7 @@
       <publishTime>12/20/2021 13:19:56</publishTime>
     </File>
     <File Include="Web.config">
-      <publishTime>07/31/2022 16:05:46</publishTime>
+      <publishTime>08/08/2022 14:58:31</publishTime>
     </File>
   </ItemGroup>
 </Project>
\ No newline at end of file
diff --git a/WebAPI/WebAPI.csproj.user b/WebAPI/WebAPI.csproj.user
index ceaae00..729b04f 100644
--- a/WebAPI/WebAPI.csproj.user
+++ b/WebAPI/WebAPI.csproj.user
@@ -9,7 +9,7 @@
     <WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
     <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
     <NameOfLastUsedPublishProfile>D:\Git\houduan\WebAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
-    <NameOfLastUsedPublishProfile>D:\鏅轰簯MES\Lay-Api\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
+    <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
     <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
     <UseIISExpress>false</UseIISExpress>
     <Use64BitIISExpress />

--
Gitblit v1.9.1