/*
PRJ-00098747
供应商协同云_基础资料_预置角色重新获取最新的权限
1. 供应商管理员角色(未启用协同)
在这个预置通用角色里的，报价与竞价 应用，添加“竞价发布”、“行分录竞价大厅（报价方）”权限。
*/
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9X22QG9R33';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('1PI8PIL62LGD','47150e89000000ac','2+9X22QG9R33',' ','SE7/UZFDVIE',0,'quo_bidbill',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9X22QG9R34';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('1PI8PIL62LGD','4730fc9e000000ac','2+9X22QG9R34',' ','SE7/UZFDVIE',0,'quo_bidbill',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9X22QG9R35';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('1PI8PIL62LGD','4730fc9f000004ae','2+9X22QG9R35',' ','SE7/UZFDVIE',0,'quo_bidbill',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9X22QG9R36';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('1PI8PIL62LGD','1+/0POI69A9/','2+9X22QG9R36',' ','SE7/UZFDVIE',0,'quo_bidbill',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9X22QG9R37';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('1PI8PIL62LGD','1+/0TDAL+Q68','2+9X22QG9R37',' ','SE7/UZFDVIE',0,'quo_bidbill',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9X22QG9R38';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('1PI8PIL62LGD','47150e89000000ac','2+9X22QG9R38',' ','SE7/UZFDVIE',0,'quo_bidhallbyentry',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9X22QG9R39';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('1PI8PIL62LGD','4730fc9e000000ac','2+9X22QG9R39',' ','SE7/UZFDVIE',0,'quo_bidhallbyentry',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9X22QG9R3=';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('1PI8PIL62LGD','1+/20+YT26BM','2+9X22QG9R3=',' ','SE7/UZFDVIE',0,'quo_bidhallbyentry',' '); 
/*
2. 供应商用户管理员角色
在这个预置通用角色里的，商城入驻 应用，去掉“供应商”权限。
*/
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ+';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ/';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ0';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ1';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ2';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ3';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ4';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ5';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ6';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ7';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ8';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ9';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQ=';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQA';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAEJ=O7AQB';
/*
3. 供应商用户角色
在这个预置通用角色里的，商城入驻 应用，去掉“供应商”权限；
*/
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPV2';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPV3';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPV4';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPV5';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPV6';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPV7';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPV8';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPV9';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPV=';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPVA';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPVB';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPVC';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPVD';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPVE';
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID='0KFAG4LVDPVF';
/*
3.1在这个预置通用角色里的，准入协同 应用，添加“品类库变更”权限。
*/
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9XCZM24NJ=';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('0KF19VDCVAK+','1HUMU3HUC1BT','2+9XCZM24NJ=',' ','/DNEA3QW/ATD',0,'adm_supcategory',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9XCZM24NJA';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('0KF19VDCVAK+','47150e89000000ac','2+9XCZM24NJA',' ','/DNEA3QW/ATD',0,'adm_supcategory',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2+9XCZM24NJB';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FENTITYTYPEID,FCONTROLMODE) VALUES ('0KF19VDCVAK+','4730fc9f000004ae','2+9XCZM24NJB',' ','/DNEA3QW/ATD',0,'adm_supcategory',' '); 