/*
***********************************************************************************************************
请将脚本放到相应模块的预插数据目录中,非“通用操作”类型的权限项，编码请不要以QXX开头。注意脚本dbkey要正确。
***********************************************************************************************************
*/
DELETE FROM T_PERM_PERMITEM WHERE FID = '3WMBZC439VVL';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3WMBZC439VVL', 'bos_perm_QXX0001', '10', '10', '47150e89000000ac', '直接授权', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3WMBZC439VVL';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3WMC+ALKVAXM', '3WMBZC439VVL', 'zh_CN', '直接授权');


DELETE FROM T_PERM_PERMITEM WHERE FID = '3WMD8/1AGYTL';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3WMD8/1AGYTL', 'bos_perm_QXX0002', '10', '10', '47150e89000000ac', '直接禁权', ' ');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3WMD8/1AGYTL';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3WMD8BVFZ2ST', '3WMD8/1AGYTL', 'zh_CN', '直接禁权');





DELETE FROM t_perm_adminschemedetail WHERE fentitynum = 'perm_disfunperm_v2';
DELETE FROM t_perm_adminschemedetail WHERE fentitynum = 'perm_disfunperm_v2';
DELETE FROM t_perm_adminschemedetail WHERE fentitynum = 'perm_disfunperm_v2';
DELETE FROM t_perm_adminschemedetail WHERE fentitynum = 'perm_disfunperm_v2';
DELETE FROM t_perm_adminschemedetail WHERE fentitynum = 'perm_disfunperm_v2';

DELETE FROM t_perm_admingroupfunperm WHERE fentitynum = 'perm_disfunperm_v2';

DELETE FROM t_perm_rolepermdetial WHERE fentitytypeid = 'perm_disfunperm_v2';
DELETE FROM t_perm_fieldpermdetail WHERE fentitytypeid = 'perm_disfunperm_v2';
DELETE FROM t_perm_rolefieldscheme WHERE fentnum = 'perm_disfunperm_v2';

DELETE FROM t_perm_bizroleperm WHERE fentitytypeid = 'perm_disfunperm_v2';
DELETE FROM t_perm_bizroledisperm WHERE fentitytypeid = 'perm_disfunperm_v2';

DELETE FROM t_perm_userpermdetail WHERE fentitytypeid = 'perm_disfunperm_v2';
DELETE FROM t_perm_userfieldscheme WHERE fentnum = 'perm_disfunperm_v2';
DELETE FROM t_perm_userdatarule WHERE fentitynum = 'perm_disfunperm_v2';
DELETE FROM t_perm_userdatarule_prop WHERE fentitynum = 'perm_disfunperm_v2';

DELETE FROM t_perm_disfunperm WHERE fentitytypeid = 'perm_disfunperm_v2';



