/*  creator：黄望
请将脚本交给基础服务组的同事放到预插数据目录中,切勿自行预置权限项，多谢配合！
平台版本更新到3.005及以上后，业务部门可自行添加的业务权限项，权限项编码请不要使用QXX开头，务必选择业务操作及适用应用。脚本dbkey用basedata。
********************************************************************* 
*/ 
DELETE FROM T_PERM_PERMITEM WHERE FID = '2N=0T//BLQ+M';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2N=0T//BLQ+M', 'RESTRUCTRETURN', '10', '20', '47150e89000000ac', '改制退料', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2N=0T//BLQ+M';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2N=0UW/1E645', '2N=0T//BLQ+M', 'zh_CN', '改制退料');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2N=0U2TQ+JSA';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2N=0U2TQ+JSA', 'RESTRUCTSCRAP', '10', '20', '47150e89000000ac', '改制报废', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2N=0U2TQ+JSA';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2N=0UW/1E7GO', '2N=0U2TQ+JSA', 'zh_CN', '改制报废');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2N=0P/+S=1=3';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2N=0P/+S=1=3', 'RESTRUCTDRAW', '10', '20', '47150e89000000ac', '改制选单', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2N=0P/+S=1=3';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2N=0UW/1E646', '2N=0P/+S=1=3', 'zh_CN', '改制选单');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2N=0RUQGDX8M';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2N=0RUQGDX8M', 'RESTRUCT', '10', '20', '47150e89000000ac', '工单改制', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2N=0RUQGDX8M';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2N=0UW/1E7GP', '2N=0RUQGDX8M', 'zh_CN', '工单改制');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2N=0QKLISZKY';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2N=0QKLISZKY', 'RESTRUCTLOADINFO', '10', '20', '47150e89000000ac', '改制更新引入', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2N=0QKLISZKY';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('2N=0UW/1E647', '2N=0QKLISZKY', 'zh_CN', '改制更新引入');

