/*
***********************************************************************************************************
请将脚本放到相应模块的预插数据目录中,非“通用操作”类型的权限项，编码请不要以QXX开头。注意脚本dbkey要正确。
***********************************************************************************************************
*/
/*汇报关系图查询*/
DELETE FROM t_perm_permitem WHERE FID = '3B+30CT77NHC';
INSERT INTO t_perm_permitem(FID,FPREPERMITEMID,FINHERITMODE,FBIZAPPID,FORDER,FDESCRIPTION,FGROUP,FBIZDOMAINID,FNUMBER,FNAME) VALUES ('3B+30CT77NHC','47150e89000000ac','10',' ',0,'岗位汇报关系中使用','10',0,'QueryReportRelationshipDiagram','汇报关系图查询');

DELETE FROM t_perm_permitem_l WHERE FPKID = '3B+30CT76WW2';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3B+30CT77NHC','3B+30CT76WW2','zh_CN','汇报关系图查询');
DELETE FROM t_perm_permitem_l WHERE FPKID = '3B+30CT76WW3';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3B+30CT77NHC','3B+30CT76WW3','zh_TW','彙報關係圖查詢');

/*汇报关系查询*/
DELETE FROM t_perm_permitem WHERE FID = '3B+2Y3NH9E2C';
INSERT INTO t_perm_permitem(FID,FPREPERMITEMID,FINHERITMODE,FBIZAPPID,FORDER,FDESCRIPTION,FGROUP,FBIZDOMAINID,FNUMBER,FNAME) VALUES ('3B+2Y3NH9E2C','47150e89000000ac','10',' ',0,'岗位汇报关系中使用','10',0,'QueryReportingRelationship','汇报关系查询');

DELETE FROM t_perm_permitem_l WHERE FPKID = '3B+2Y3NH8NG2';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3B+2Y3NH9E2C','3B+2Y3NH8NG2','zh_CN','汇报关系查询');
DELETE FROM t_perm_permitem_l WHERE FPKID = '3B+2Y3NH8NG3';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3B+2Y3NH9E2C','3B+2Y3NH8NG3','zh_TW','彙報關係查詢');

/*设为主岗*/
DELETE FROM t_perm_permitem WHERE FID = '3B+2TP+=VSES';
INSERT INTO t_perm_permitem(FID,FPREPERMITEMID,FINHERITMODE,FBIZAPPID,FORDER,FDESCRIPTION,FGROUP,FBIZDOMAINID,FNUMBER,FNAME) VALUES ('3B+2TP+=VSES','47150e89000000ac','10',' ',0,'部门岗位关系中使用','10',0,'SETMAINPOSITION','设为主岗');

DELETE FROM t_perm_permitem_l WHERE FPKID = '3B+2TP+=V/TH';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3B+2TP+=VSES','3B+2TP+=V/TH','zh_CN','设为主岗');
DELETE FROM t_perm_permitem_l WHERE FPKID = '3B+2TP+=V/TI';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3B+2TP+=VSES','3B+2TP+=V/TI','zh_TW','設為主崗');
