Commit 341fee17 by guanzhenshan

解决无法添加角色用户的问题

parent b406f483
...@@ -392,7 +392,7 @@ namespace Bailun.DC.Services ...@@ -392,7 +392,7 @@ namespace Bailun.DC.Services
return "找不到该角色。"; return "找不到该角色。";
} }
var m = cn.QueryFirstOrDefault<dc_user_role_relation>("select * from dc_user_role_relation where delstatus=0 and userid=" + userid + " and role_id=" + roleid); var m = cn.QueryFirstOrDefault<dc_user_role_relation>("select * from dc_user_role_relation where userid=" + userid + " and role_id=" + roleid);
if (m == null) if (m == null)
{ {
m = new dc_user_role_relation m = new dc_user_role_relation
......
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