/* 将三权分立里administrator的业务角色权限报表,用户组分类的权限修改为给security */
UPDATE t_perm_adminschemedetail SET fentryid = 586840171824022531 WHERE fentryid IN (586840171824022529) AND fentitynum IN ('bizrole_perm_report','perm_usergroupstandard');

/* 删除三权分立里administrator的用户组(bos_usrgrp)，用户信息*/
DELETE FROM t_perm_adminschemedetail WHERE fentryid IN (586840171824022529) AND fentitynum IN ('bos_usrgrp','bos_usergroup_user');


/* 删除三权分立里security的用户组列表(bos_usrgrplist)权限 */
DELETE FROM t_perm_adminschemedetail WHERE fdetailid IN (4800,4801,4802,4803,4804,4805,4806);

/* 将用户组列表(bos_usrgrplist)的权限加给三权分立的security*/
INSERT INTO t_perm_adminschemedetail (fentryid,fdetailid,fseq,fbizappid,fentitynum,fpermitemid) VALUES (586840171824022531,4800,0,'83bfebc8000037ac','bos_usrgrplist','4715e1f1000000ac');
INSERT INTO t_perm_adminschemedetail (fentryid,fdetailid,fseq,fbizappid,fentitynum,fpermitemid) VALUES (586840171824022531,4801,0,'83bfebc8000037ac','bos_usrgrplist','47150e89000000ac');
INSERT INTO t_perm_adminschemedetail (fentryid,fdetailid,fseq,fbizappid,fentitynum,fpermitemid) VALUES (586840171824022531,4802,0,'83bfebc8000037ac','bos_usrgrplist','47156aff000000ac');
INSERT INTO t_perm_adminschemedetail (fentryid,fdetailid,fseq,fbizappid,fentitynum,fpermitemid) VALUES (586840171824022531,4803,0,'83bfebc8000037ac','bos_usrgrplist','2N=/N7R8DK5V');
INSERT INTO t_perm_adminschemedetail (fentryid,fdetailid,fseq,fbizappid,fentitynum,fpermitemid) VALUES (586840171824022531,4804,0,'83bfebc8000037ac','bos_usrgrplist','2N=/OH2U83R8');
INSERT INTO t_perm_adminschemedetail (fentryid,fdetailid,fseq,fbizappid,fentitynum,fpermitemid) VALUES (586840171824022531,4805,0,'83bfebc8000037ac','bos_usrgrplist','2N=/SID83APM');
INSERT INTO t_perm_adminschemedetail (fentryid,fdetailid,fseq,fbizappid,fentitynum,fpermitemid) VALUES (586840171824022531,4806,0,'83bfebc8000037ac','bos_usrgrplist','2N=/TEDYW4BF');