/* 预置HR领域权限项：发起协作、添加协作 */
DELETE FROM T_PERM_PERMITEM WHERE FID = '0D=SJDILP1X5';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('0D=SJDILP1X5', 'QXX0309', '10', '10', '47150e89000000ac', '发起协作', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '0D=SJDILP1X5';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('0D=SJDILP2KE', '0D=SJDILP1X5', 'zh_CN', '发起协作');
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('0D=SJDILP2KF', '0D=SJDILP1X5', 'zh_TW', '發起協作');

DELETE FROM T_PERM_PERMITEM WHERE FID = '0D=SLIQQ0NH4';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('0D=SLIQQ0NH4', 'QXX0310', '10', '10', '47150e89000000ac', '添加协作', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '0D=SLIQQ0NH4';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('0D=SLIQQ0O5D', '0D=SLIQQ0NH4', 'zh_CN', '添加协作');
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('0D=SLIQQ0O5E', '0D=SLIQQ0NH4', 'zh_TW', '添加協作');

/* 改为通用权限项 */
UPDATE t_perm_permitem SET FGROUP = '10', FBIZAPPID = ' ' WHERE FID IN ('01L1OZ8JGMB3', '01RJ+=4PYY4G', '01RJ=4CGSE07', '01RJEMDWF33R', '01RJGZA78NV8', '01RKP4/KBG34', '01RKR=CHFGNX');

UPDATE t_perm_permitem SET FNUMBER = 'QXX0311', FGROUP = '10', FBIZAPPID = ' ' WHERE FID = '/ZGFVHPL=ML7';

UPDATE t_perm_permitem SET FNUMBER = 'QXX0312', FGROUP = '10', FBIZAPPID = ' ' WHERE FID = '/ZGH5XQLCQXT';

/* 采购销售合同权限项 */
DELETE FROM T_PERM_PERMITEM WHERE FID = '0DAQSVNVIT3U';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('0DAQSVNVIT3U', 'QXX0313', '10', '10', '47150e89000000ac', '行关闭', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '0DAQSVNVIT3U';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('0DAQSVNVITT2', '0DAQSVNVIT3U', 'zh_CN', '行关闭');
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('0DAQSVNVITT3', '0DAQSVNVIT3U', 'zh_TW', '行關閉');