This commit is contained in:
gongxh
2022-05-16 09:03:42 +08:00
parent 4a6894457d
commit f3e77f63c0
37 changed files with 298 additions and 255 deletions

View File

@@ -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("修改用户数据成功!");