

DELETE FROM t_perm_roleperm WHERE  FROLEID = '0KF19V=6MYXS';
INSERT INTO t_perm_roleperm (FID, FROLEID, FCREATETIME, FCREATORID, FMODIFYTIME, FMODIFIERID, FSTATUS, FENABLE, FNUMBER, FMASTERID) VALUES ('0KF19VDCVAK+', '0KF19V=6MYXS', NULL, 0, NULL, 0, ' ', ' ', ' ', ' ');

DELETE FROM t_perm_roleperm WHERE FROLEID = '0KF7KTPK48NB';
INSERT INTO t_perm_roleperm (FID, FROLEID, FCREATETIME, FCREATORID, FMODIFYTIME, FMODIFIERID, FSTATUS, FENABLE, FNUMBER, FMASTERID) VALUES ('0KF7KUBZ0L8B', '0KF7KTPK48NB', NULL, 0, NULL, 0, ' ', ' ', ' ', ' ');


-- 供应商管理员角色
update t_perm_rolepermdetial set froleid='0KF19V=6MYXS' where fid='0KF19VDCVAK+';

UPDATE t_perm_roleperm SET FID = '0KF19VDCVAK+' WHERE FROLEID = '0KF19V=6MYXS';

UPDATE t_perm_rolepermdetial SET FID = '0KF19VDCVAK+' WHERE FROLEID = '0KF19V=6MYXS';

-- 供应商用户角色

update t_perm_rolepermdetial set froleid='0KF7KTPK48NB' where fid='0KF7KUBZ0L8B';

UPDATE t_perm_roleperm SET FID = '0KF7KUBZ0L8B' WHERE FROLEID = '0KF7KTPK48NB';

UPDATE t_perm_rolepermdetial SET FID = '0KF7KUBZ0L8B' WHERE FROLEID = '0KF7KTPK48NB';



-- 供应商用户角色
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2TOFGS/28292';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FROLEID,FENTITYTYPEID,FCONTROLMODE) VALUES ('0KF7KUBZ0L8B','47150e89000000ac','2TOFGS/28292',' ','eae607fb000152ac',0,'0KF7KTPK48NB','scp_deliveryrpt',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2TOFGS/28293';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FROLEID,FENTITYTYPEID,FCONTROLMODE) VALUES ('0KF7KUBZ0L8B','4730fc9f000004ae','2TOFGS/28293',' ','eae607fb000152ac',0,'0KF7KTPK48NB','scp_deliveryrpt',' '); 



-- 供应商管理员角色
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2TOFJPE11QPX';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FROLEID,FENTITYTYPEID,FCONTROLMODE) VALUES ('0KF19VDCVAK+','47150e89000000ac','2TOFJPE11QPX',' ','eae607fb000152ac',0,'0KF19V=6MYXS','scp_deliveryrpt',' '); 
DELETE FROM t_perm_rolepermdetial WHERE FENTRYID = '2TOFJPE11QPY';
INSERT INTO t_perm_rolepermdetial(FID,FPERMITEMID,FENTRYID,FINHERITMODE,FBIZAPPID,FSEQ,FROLEID,FENTITYTYPEID,FCONTROLMODE) VALUES ('0KF19VDCVAK+','4730fc9f000004ae','2TOFJPE11QPY',' ','eae607fb000152ac',0,'0KF19V=6MYXS','scp_deliveryrpt',' '); 
