feat: #1 쓰기 기능 사용 시 DB 자동 반영 기능 추가 #3

Merged
Ghost merged 10 commits from feaure/add-database-update into main 2025-05-08 14:15:50 +09:00
Showing only changes of commit bd575ced77 - Show all commits

View File

@ -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)