正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -329,7 +329,7 @@ func getUserChancePermission(userCompanyid int64) (map[string]PermissionOptionOb | @@ -329,7 +329,7 @@ func getUserChancePermission(userCompanyid int64) (map[string]PermissionOptionOb | ||
329 | FROM role_menu AS a | 329 | FROM role_menu AS a |
330 | JOIN user_role AS b ON a.role_id = b.role_id | 330 | JOIN user_role AS b ON a.role_id = b.role_id |
331 | JOIN role AS c ON a.role_id = c.id | 331 | JOIN role AS c ON a.role_id = c.id |
332 | - WHERE a.code='%v' AND b.user_company_id=? AND c.delete_at =0`, M_SYSTEM_OPPORTUNITY) | 332 | + WHERE a.code='%v' AND b.user_company_id=? AND c.delete_at =0 AND b.enable_status=1`, M_SYSTEM_OPPORTUNITY) |
333 | 333 | ||
334 | var ( | 334 | var ( |
335 | data []CodeOpptionData | 335 | data []CodeOpptionData |
-
请 注册 或 登录 后发表评论