曹路删除部门权限sql

https://auth.pdlgcloud.com/mologinagentwebsite/loginView.html?service=https%3A%2F%2Fconsole.pdlgcloud.com%2Fmotenantconsolehomewebsite%2F#/login/authenticate

控制台
PDLGCLZ_INT_CLOAXT_USER_01
PDLG@8888
操作系统:
administrator
CLOAXT@123


select id from g_userinfo where user_name='用户名';   把查到的id放入第三条sql的user_id

select * from g_orgranize;    将查到的该人员权限部门的id放入第三条sql的dept_id

select * from g_inbox where user_id='xxx' and dept_id='yyy' ; 先查数据信息,看是否正确

delete from g_inbox where user_id='xxx' and dept_id='yyy' ; 删除当前用户所在部门的所有代办信息

注:删除代办之后,即可在系统中删除该人员所在部门的权限

原文地址:https://www.cnblogs.com/Dreamsoft/p/15212034.html