11
This commit is contained in:
@@ -136,7 +136,7 @@ namespace CleanMachineHMI.frmChild
|
||||
return;
|
||||
}
|
||||
string sql = $@"update SYS_USER set USER_CODE = '{txtAccount.Text}',USER_NAME = '{txtName.Text}',PASSWORD = '{txtPS1.Text}',GENDER = '{cmbGender.SelectedIndex}',ROLE_ID = '{((ListItem)kcmb_Role.SelectedItem).Value}',UPDATE_BY = '{Global.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime') where USER_ID = '{UserId}'";
|
||||
int row = LeadDbHelperSQLite.ExecuteSql(sql);
|
||||
int row = LeadDbHelperSQLite.Execute(sql);
|
||||
if (row > 0)
|
||||
{
|
||||
//KryptonMessageBox.Show("修改用户数据成功!");
|
||||
|
||||
Reference in New Issue
Block a user