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

@@ -155,7 +155,7 @@ namespace CleanMachineHMI.FrmUserControl
return;
}
string sql = $@"DELETE FROM SYS_ROLE WHERE ROLE_ID = '{UserId}'";
int row = LeadDbHelperSQLite.ExecuteSql(sql);
int row = LeadDbHelperSQLite.Execute(sql);
if (row > 0)
{
KryptonMessageBox.Show(this.T("删除角色数据成功!", "DeleteSuccessInfo"));