Browse Source

BUG调整

章政 7 years ago
parent
commit
684fdefe5c

+ 1 - 0
UAS-出货标签管理(吉利通)/Login.cs

@@ -33,6 +33,7 @@ namespace UAS_LabelMachine
             dh = new DataHelper();
             adh = new AccessDBHelper("LabelPrint.accdb");
             SystemInf.dh = dh;
+            SystemInf.adh = adh;
             //获取账套信息
             dt = (DataTable)dh.ExecuteSql("select ma_function,ms_pwd,ma_user from master ", "select");
             DataTable MasterDB = dt.Clone();

+ 6 - 2
UAS-出货标签管理(吉利通)/PublicMethod/LogicHandler.cs

@@ -8,11 +8,15 @@ namespace UAS_LabelMachine.PublicMethod
 {
     class LogicHandler
     {
-        AccessDBHelper dh = SystemInf.adh;
+        static AccessDBHelper adh = SystemInf.adh;
 
+        /// <summary>
+        /// 更新本地数据库已采集
+        /// </summary>
+        /// <param name="iPibID"></param>
         public static void UpdateRowCollected(int iPibID)
         {
-
+            adh.UpdateByCondition("prodiobarcode", "pib_ifcheck=-1,pib_ifprint=-1", "pib_id=" + iPibID);
         }
     }
 }

+ 1 - 1
UAS-出货标签管理(吉利通)/UAS_出货标签管理.Designer.cs

@@ -328,7 +328,7 @@
             this.si_expression,
             this.si_item,
             this.si_expressionitem});
-            this.Si_ItemDGV.Location = new System.Drawing.Point(1119, 292);
+            this.Si_ItemDGV.Location = new System.Drawing.Point(1119, 316);
             this.Si_ItemDGV.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.Si_ItemDGV.Name = "Si_ItemDGV";
             this.Si_ItemDGV.RowTemplate.Height = 23;