/*  creator：刘治安
请将脚本交给基础服务组的同事放到预插数据目录中,切勿自行预置权限项，多谢配合！
平台版本更新到3.005及以上后，业务部门可自行添加的业务权限项，权限项编码请不要使用QXX开头，务必选择业务操作及适用应用。脚本dbkey用basedata。
********************************************************************* 
*/ 
DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02=F2VFXC/';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02=F2VFXC/', 'rim_pc_oversea_file_upload', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02=F2VFXC/';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4IOVASFV7', '2V02=F2VFXC/', 'zh_CN', 'PC端海外发票文件上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02GK/BBYRJ';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02GK/BBYRJ', 'rim_pc_oversea_company', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02GK/BBYRJ';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4IOVASF5Z', '2V02GK/BBYRJ', 'zh_CN', 'PC端海外发票企业票夹权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V028XVEL=BE';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V028XVEL=BE', 'rim_pc_invoice', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V028XVEL=BE';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4IOVASFV8', '2V028XVEL=BE', 'zh_CN', 'PC端发票上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02DSSXYZE2';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02DSSXYZE2', 'rim_pc_oversea_phone_upload', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02DSSXYZE2';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4IOVASF6+', '2V02DSSXYZE2', 'zh_CN', 'PC端海外发票手机上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02Q0K5CRVZ';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02Q0K5CRVZ', 'rim_pc_attach', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02Q0K5CRVZ';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4IOVASFV9', '2V02Q0K5CRVZ', 'zh_CN', 'PC端附件权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2VK83M97B5Y7';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2VK83M97B5Y7', 'rim_pc_attach_phone_upload', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2VK83M97B5Y7';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK8MUAU2P50', '2VK83M97B5Y7', 'zh_CN', 'PC端附件手机上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2VK856A7BY50';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2VK856A7BY50', 'rim_pc_attach_scanner', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2VK856A7BY50';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK8MUAU0MC9', '2VK856A7BY50', 'zh_CN', ' PC端附件扫描仪上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V023RWTG3GO';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V023RWTG3GO', 'rim_pc_oversea', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V023RWTG3GO';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4IOVASF6/', '2V023RWTG3GO', 'zh_CN', 'PC端海外发票上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02HPSE7AGA';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02HPSE7AGA', 'rim_pc_oversea_person', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02HPSE7AGA';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4IOVASFV=', '2V02HPSE7AGA', 'zh_CN', 'PC端海外发票个人票夹权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02F7J10X/W';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02F7J10X/W', 'rim_pc_oversea_scanner', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02F7J10X/W';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4IOVASF60', '2V02F7J10X/W', 'zh_CN', 'PC端海外发票扫描仪上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02J5HYVQMX';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02J5HYVQMX', 'rim_pc_contract', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02J5HYVQMX';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4IOVASFVA', '2V02J5HYVQMX', 'zh_CN', 'PC端合同权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02RZGF97HS';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02RZGF97HS', 'rim_mob_invoice_camera', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02RZGF97HS';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WI1N', '2V02RZGF97HS', 'zh_CN', '移动端发票文件及相机上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02R21X9BZ=';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02R21X9BZ=', 'rim_mobile_invoice', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02R21X9BZ=';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WIQX', '2V02R21X9BZ=', 'zh_CN', '移动端发票权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V03303Z+/X2';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V03303Z+/X2', 'rim_mob_attach_pocket', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V03303Z+/X2';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WI1O', '2V03303Z+/X2', 'zh_CN', '移动端附件附件夹权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2VJYWXXM0YZL';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2VJYWXXM0YZL', 'rim_mob_invoice_message', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2VJYWXXM0YZL';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WIQY', '2VJYWXXM0YZL', 'zh_CN', '移动端发票短信取票权限 ');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2VFRDCWOI8OQ';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2VFRDCWOI8OQ', 'rim_mobile_contract', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2VFRDCWOI8OQ';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WI1P', '2VFRDCWOI8OQ', 'zh_CN', '移动端合同权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2VJYV7=4R15=';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2VJYV7=4R15=', 'rim_mob_invoice_hand_add', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2VJYV7=4R15=';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WIQZ', '2VJYV7=4R15=', 'zh_CN', '移动端发票手工添加权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2VJZ+AFK7RKV';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2VJZ+AFK7RKV', 'rim_mob_invoice_pocket', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2VJZ+AFK7RKV';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WI1Q', '2VJZ+AFK7RKV', 'zh_CN', '移动端发票票夹权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V03/BKJ5EH3';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V03/BKJ5EH3', 'rim_mob_oversea_pocket', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V03/BKJ5EH3';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WIR+', '2V03/BKJ5EH3', 'zh_CN', '移动端海外发票票夹权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2VJYY7B7V5LS';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2VJYY7B7V5LS', 'rim_mob_invoice_email', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2VJYY7B7V5LS';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WI1R', '2VJYY7B7V5LS', 'zh_CN', '移动端发票邮箱取票权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V030AI4TV34';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V030AI4TV34', 'rim_mobile_attach', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V030AI4TV34';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WIR/', '2V030AI4TV34', 'zh_CN', '移动端附件权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2VJYQ1F5XMY6';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2VJYQ1F5XMY6', 'rim_mob_invoice_scan_qrcode', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2VJYQ1F5XMY6';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WI1S', '2VJYQ1F5XMY6', 'zh_CN', '移动端发票扫描二维码权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V03+GI=OYGZ';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V03+GI=OYGZ', 'rim_mob_oversea_camera', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V03+GI=OYGZ';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WIR0', '2V03+GI=OYGZ', 'zh_CN', '移动端海外发票相机及文件上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V031VW2NS9Q';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V031VW2NS9Q', 'rim_mob_attach_camera', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V031VW2NS9Q';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WIR1', '2V031VW2NS9Q', 'zh_CN', '移动端附件相机及文件上传权限');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2V02ZG8+22N5';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2V02ZG8+22N5', 'rim_mobile_oversea', '10', '20', '47150e89000000ac', ' ', '0QHC8968SM1T');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2V02ZG8+22N5';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2VK4OU73WI1U', '2V02ZG8+22N5', 'zh_CN', '移动端海外发票权限');
