作者 yangfu

权限修改

... ... @@ -329,7 +329,7 @@ func getUserChancePermission(userCompanyid int64) (map[string]PermissionOptionOb
FROM role_menu AS a
JOIN user_role AS b ON a.role_id = b.role_id
JOIN role AS c ON a.role_id = c.id
WHERE a.code='%v' AND b.user_company_id=? AND c.delete_at =0`, M_SYSTEM_OPPORTUNITY)
WHERE a.code='%v' AND b.user_company_id=? AND c.delete_at =0 AND b.enable_status=1`, M_SYSTEM_OPPORTUNITY)
var (
data []CodeOpptionData
... ...