11
This commit is contained in:
@@ -110,7 +110,7 @@ namespace CleanMachineHMI.frmChild
|
||||
return;
|
||||
}
|
||||
string sql = $@"update BAS_WARNING set WARNING_NAME = '{txtWarningName.Text}',WARNING_MESSAGE = '{txtWarningMessage.Text}',PLC_ITEM_CODE = '{ktb_PlcCode.Text}',WARNING_TYPE = '{kcmb_WarningType.SelectedIndex}',UPDATE_BY = '{Global.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime') where WARNING_ID = '{WarningId}'";
|
||||
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
||||
int row = LeadDbHelperSQLite.Execute(sql);
|
||||
if (row > 0)
|
||||
{
|
||||
//KryptonMessageBox.Show("修改基础报警数据成功!");
|
||||
|
||||
Reference in New Issue
Block a user