提交当前本机整理版本
This commit is contained in:
@@ -737,4 +737,25 @@ namespace Lskj.Business.Impl
|
||||
|
||||
//拼接添加权限分类sql
|
||||
//List<string> moduleNumbers = new List<string>();
|
||||
//string Sql = string.Format("delete p_sy
|
||||
//string Sql = string.Format("delete p_systemPrivilege where roleid='{0}';", roleid);
|
||||
//foreach (DataRow item in Module.Rows)
|
||||
//{
|
||||
// string PurviewId = item["PurviewId"] + "";
|
||||
// if (!string.IsNullOrWhiteSpace(PurviewId) && !moduleNumbers.Contains(PurviewId))
|
||||
// {
|
||||
// moduleNumbers.Add(PurviewId);
|
||||
// DataRow dr= GetDataRowResult(string.Format("select top 1 privTypeId from p_systemPrivilege where modId='{0}' order by privTypeId desc ", PurviewId));
|
||||
// int privTypeId =1;
|
||||
// if (dr != null) privTypeId = int.Parse(dr["privTypeId"] + "") + 1;
|
||||
|
||||
// Sql += string.Format(" insert into p_systemPrivilege(privTypeId,privTypeName,modId,userList,remark,roleid) VALUES ('{0}','{1}','{2}','{3}','{4}','{5}'); ",
|
||||
// privTypeId+"", roleName, PurviewId, text,"", roleid);
|
||||
// }
|
||||
|
||||
//}
|
||||
|
||||
//ExecSqlValue(Sql);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user