Commit 7244a907 authored by 黄奎's avatar 黄奎

权限判断修改

parent 948eba0c
...@@ -104,6 +104,14 @@ WHERE 1=1 AND A.Status=0 AND A.Id IN(SELECT Action_Id FROM rb_role_functionpermi ...@@ -104,6 +104,14 @@ WHERE 1=1 AND A.Status=0 AND A.Id IN(SELECT Action_Id FROM rb_role_functionpermi
/// <returns></returns> /// <returns></returns>
public bool CheckUserFunctionRepository(string actionCode, string postIds) public bool CheckUserFunctionRepository(string actionCode, string postIds)
{ {
if (string.IsNullOrEmpty(actionCode))
{
return false;
}
if (string.IsNullOrEmpty(postIds))
{
return false;
}
int result = 0; int result = 0;
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
builder.AppendFormat(@" builder.AppendFormat(@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment