This commit is contained in:
gongxh
2022-05-06 12:28:16 +08:00
parent c57ca69dfd
commit 0e459f231a
49 changed files with 458 additions and 388 deletions

View File

@@ -110,7 +110,7 @@ namespace CleanMachineHMI.frmChild
{
roleGrade = 1;
}
string sql = $@"update SYS_ROLE set ROLE_CODE = '{txtRoleCode.Text}',ROLE_NAME = '{txtRoleName.Text}',ROLE_GRADE = '{roleGrade}',UPDATE_BY = '{GlobalHelper.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime') where ROLE_ID = '{RoleId}'";
string sql = $@"update SYS_ROLE set ROLE_CODE = '{txtRoleCode.Text}',ROLE_NAME = '{txtRoleName.Text}',ROLE_GRADE = '{roleGrade}',UPDATE_BY = '{Global.UserInfo.UserId}',UPDATE_TIME = datetime('now', 'localtime') where ROLE_ID = '{RoleId}'";
int row = LeadDbHelperSQLite.ExecuteSql(sql);
if (row > 0)
{