SVN r1114

SVN-Revision: r1114
This commit is contained in:
cyf
2026-01-30 07:59:08 +00:00
parent f4daf70eec
commit 89dc609271
3 changed files with 21 additions and 10 deletions
@@ -1,5 +1,6 @@
using DevExpress.XtraEditors;
using DevExpress.XtraGrid.Columns;
using Lskj.Business.Impl;
using Lskj.Control;
using Lskj.Control.Model;
using Lskj.Core;
@@ -7,6 +8,7 @@ using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
@@ -216,7 +218,19 @@ namespace Lskj.PubUserTomodule
int i=SqlHelper.ExecuteNonQuery(sql);
if (i > 0)
{
MessageUtil.Show("删除成功");
int rValue = saveRoledata(int.Parse(RoleId));
if (rValue == 0)
{
//在拥有权限的模块中生成权限分类 Editdate readdate
MessageUtil.Show("同步人员权限成功!");
}
else
{
MessageUtil.Show("同步人员权限失败!");
return;
}
}
else {
MessageUtil.Show("删除失败");
@@ -230,8 +244,4 @@ namespace Lskj.PubUserTomodule
MessageUtil.Show("请选择需要删除的角色");
}
}
}
}
}