/*  creator：刘付聪
请将脚本交给基础服务组的同事放到预插数据目录中,切勿自行预置权限项，多谢配合！
平台版本更新到3.005及以上后，业务部门可自行添加的业务权限项，权限项编码请不要使用QXX开头，务必选择业务操作及适用应用。脚本dbkey用basedata。
********************************************************************* 
*/ 
/* EAS生成应付改为生成应付*/
DELETE FROM T_PERM_PERMITEM WHERE FID = '1//AR4GSIM+B';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('1//AR4GSIM+B', 'QXFP002', '10', '10', '47150e89000000ac', ' ', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '1//AR4GSIM+B';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('25QYCC9QQG2U', '1//AR4GSIM+B', 'zh_CN', '生成应付');

/* 新增功能授权*/
DELETE FROM T_PERM_PERMITEM WHERE FID = '25R+2O9VBDFI';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('25R+2O9VBDFI', 'BD-FUNCTIONAUTHORIZATION', '10', '20', '47150e89000000ac', '协同用户功能授权', '0efa1992000000ac');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '25R+2O9VBDFI';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('25R+=O7R3YSR', '25R+2O9VBDFI', 'zh_CN', '功能授权');

/* 新增角色授权*/
DELETE FROM T_PERM_PERMITEM WHERE FID = '25R+862RB9Q9';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('25R+862RB9Q9', 'BD-ROLEAUTHORIZATION', '10', '20', '47150e89000000ac', '协同用户角色授权', '0efa1992000000ac');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '25R+862RB9Q9';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('25R+92A61JBN', '25R+862RB9Q9', 'zh_CN', '角色授权');


