fix: IFNULL(Manufacture_Date,'') as Manufacture_Date 로 수정
This commit is contained in:
parent
1a04b3bce2
commit
3f5c84afa9
@ -4144,7 +4144,7 @@ End_Finish:
|
||||
End Sub
|
||||
|
||||
Private Function TD_Search() As Boolean
|
||||
Dim DBCmd As String = "Select Product_SN,Ct_Manufacture_Name,Ct_SN,Ct_Model,Ct_Type,Ct_Abroad,Ct_Agency,Ct_Power,Ct_Max_ShotCnt,Ct_Motor_Lv,PV_SN,Ct_Frequency,Manufacture_Date FROM " & UseCartridgeTbl & " WHERE PV_SN = '" & txbLoadNum.Text & "' Limit 1"
|
||||
Dim DBCmd As String = "Select Product_SN,Ct_Manufacture_Name,Ct_SN,Ct_Model,Ct_Type,Ct_Abroad,Ct_Agency,Ct_Power,Ct_Max_ShotCnt,Ct_Motor_Lv,PV_SN,Ct_Frequency,IFNULL(Manufacture_Date,'') as Manufacture_Date FROM " & UseCartridgeTbl & " WHERE PV_SN = '" & txbLoadNum.Text & "' Limit 1"
|
||||
|
||||
If DBQueryReader(DBCmd) Then
|
||||
txbPDSN.Text = sqlDataQuery(0)
|
||||
@ -4168,7 +4168,7 @@ End_Finish:
|
||||
End Function
|
||||
|
||||
Private Sub NonTD_Search()
|
||||
Dim DBCmd As String = "SELECT Product_SN, Ct_Manufacture_Name, Ct_SN, Ct_Model ,Ct_Type, Ct_Abroad, Ct_Agency, PV_SN, Manufacture_Date FROM " & NonCartridgeTbl & " WHERE PV_SN = '" & txbLoadNum.Text & "' Limit 1"
|
||||
Dim DBCmd As String = "SELECT Product_SN, Ct_Manufacture_Name, Ct_SN, Ct_Model ,Ct_Type, Ct_Abroad, Ct_Agency, PV_SN,IFNULL(Manufacture_Date,'') as Manufacture_Date FROM " & NonCartridgeTbl & " WHERE PV_SN = '" & txbLoadNum.Text & "' Limit 1"
|
||||
|
||||
If DBQueryReader(DBCmd) Then
|
||||
txbPDSN.Text = sqlDataQuery(0)
|
||||
@ -4191,7 +4191,7 @@ End_Finish:
|
||||
End Sub
|
||||
|
||||
Private Function Product_Search() As Boolean
|
||||
Dim DBCmd As String = "SELECT Product_SN,Ct_Manufacture_Name,Ct_SN,Ct_Model,Ct_Type,Ct_Abroad,Ct_Agency,Ct_Power,Ct_Max_ShotCnt,Ct_Motor_Lv,PV_SN,Ct_Frequency,Manufacture_Date FROM " & UseCartridgeTbl & " WHERE Product_SN = '" & txbLoadNum.Text & "' Limit 1"
|
||||
Dim DBCmd As String = "SELECT Product_SN,Ct_Manufacture_Name,Ct_SN,Ct_Model,Ct_Type,Ct_Abroad,Ct_Agency,Ct_Power,Ct_Max_ShotCnt,Ct_Motor_Lv,PV_SN,Ct_Frequency,IFNULL(Manufacture_Date,'') as Manufacture_Date FROM " & UseCartridgeTbl & " WHERE Product_SN = '" & txbLoadNum.Text & "' Limit 1"
|
||||
|
||||
If DBQueryReader(DBCmd) Then
|
||||
txbPDSN.Text = sqlDataQuery(0)
|
||||
@ -4215,7 +4215,7 @@ End_Finish:
|
||||
End Function
|
||||
|
||||
Private Sub NonTDProduct_Search()
|
||||
Dim DBCmd As String = "SELECT Product_SN, Ct_Manufacture_Name, Ct_SN, Ct_Model,Ct_Type,Ct_Abroad,Ct_Agency,PV_SN,Manufacture_Date FROM " & NonCartridgeTbl & " WHERE Product_SN = '" & txbLoadNum.Text & "' Limit 1"
|
||||
Dim DBCmd As String = "SELECT Product_SN, Ct_Manufacture_Name, Ct_SN, Ct_Model,Ct_Type,Ct_Abroad,Ct_Agency,PV_SN,IFNULL(Manufacture_Date,'') as Manufacture_Date FROM " & NonCartridgeTbl & " WHERE Product_SN = '" & txbLoadNum.Text & "' Limit 1"
|
||||
|
||||
If DBQueryReader(DBCmd) Then
|
||||
txbPDSN.Text = sqlDataQuery(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user