diff --git a/Product_Manager/MainForm.vb b/Product_Manager/MainForm.vb index 8b4f8b1..3d4a6ed 100644 --- a/Product_Manager/MainForm.vb +++ b/Product_Manager/MainForm.vb @@ -5,6 +5,7 @@ Imports Microsoft Imports System.Runtime.Remoting Imports System.Windows.Forms.VisualStyles.VisualStyleElement.TaskbarClock Imports Mysqlx +Imports Mysqlx.XDevAPI Public Class MainForm Public Const FormVersion As String = "2.0.0" @@ -694,8 +695,7 @@ End_Finish: "Ct_Manufacture_Month = '" & nudIfMonth.Value & "', " & "Ct_SN = '" & cartridgeSerial & "', " & "Ct_Model = 'MAXIMUM', " & - "Ct_Type = 'SET', " & - "Ct_Remain_ShotCnt = 0 " & + "Ct_Type = 'SET' " & "WHERE PV_SN = '" & TDNameStr & "'" DBCommand(DBCmd) @@ -870,8 +870,7 @@ End_Finish: "Ct_Manufacture_Month = '" & nudIfMonth.Value & "', " & "Ct_SN = '" & cartridgeSerial & "', " & "Ct_Model = 'EFFECT', " & - "Ct_Type = 'SET', " & - "Ct_Remain_ShotCnt = 0 " & + "Ct_Type = 'SET' " & "WHERE PV_SN = '" & TDNameStr & "'" DBCommand(DBCmd)