Portal 004

select count(*) from auth_user_tb where user_id in (select user_id from auth_role_user_tb where role_id in (select role_id from auth_role_tb where role_id in (select role_id from auth_role_menu_tb where menu_id = {0}) and role_id not in (1,20322,20325) )) and u_validate = 1  and user_id ={1}

Guess you like

Origin www.cnblogs.com/methane712/p/11763974.html