
-- 删除hdm_regselfhelpbill历史关联的'查询'权限项
DELETE FROM T_HRCS_PERMRELAT WHERE FID = 1418740420367792128;
DELETE FROM T_HRCS_PERMRELATENTRY WHERE FENTRYID = 1418740420367685632;

-- 预置hdm_regselfhelpbill关联的'查询'、'撤销'、'流程终止'权限项
DELETE FROM T_HRCS_PERMRELAT WHERE FID = 1622552528195544064;
INSERT INTO T_HRCS_PERMRELAT(FID,FCREATETIME,FPERMITEMID,FMODIFIERID,FMODIFYTIME,FAPPID,FDESCRIPTION,FCREATORID,FENTITYTYPEID) VALUES (1622552528195544064,{ts'2023-02-17  00:00:00'},'QXX0001',13466739,{ts'2023-02-17  00:00:00'},'1WX49GDDDZ0V',' ',13466739,'hdm_regbasebill'); 
DELETE FROM T_HRCS_PERMRELAT WHERE FID = 1624527134670200832;
INSERT INTO T_HRCS_PERMRELAT(FID,FCREATETIME,FPERMITEMID,FMODIFIERID,FMODIFYTIME,FAPPID,FDESCRIPTION,FCREATORID,FENTITYTYPEID) VALUES (1624527134670200832,{ts'2023-02-20  00:00:00'},'QXX0010',13466739,{ts'2023-02-20  00:00:00'},'1WX49GDDDZ0V',' ',13466739,'hdm_regbasebill'); 

DELETE FROM T_HRCS_PERMRELATENTRY WHERE FENTRYID = 1622552528195543040;
INSERT INTO T_HRCS_PERMRELATENTRY(FID,FISSYSPRESET,FPERMITEMID,FENTRYID,FSEQ,FAPPID,FENTITYTYPEID) VALUES (1622552528195544064,'1','QXX0001',1622552528195543040,1,'2ZK3NJ2OQYKX','hdm_regselfhelpbill'); 
DELETE FROM T_HRCS_PERMRELATENTRY WHERE FENTRYID = 1624527134670324736;
INSERT INTO T_HRCS_PERMRELATENTRY(FID,FISSYSPRESET,FPERMITEMID,FENTRYID,FSEQ,FAPPID,FENTITYTYPEID) VALUES (1624527134670200832,'1','QXX0010',1624527134670324736,1,'2ZK3NJ2OQYKX','hdm_regselfhelpbill'); 
DELETE FROM T_HRCS_PERMRELATENTRY WHERE FENTRYID = 1624528707349651456;
INSERT INTO T_HRCS_PERMRELATENTRY(FID,FISSYSPRESET,FPERMITEMID,FENTRYID,FSEQ,FAPPID,FENTITYTYPEID) VALUES (1463935627287332864,'1','HRQXX0195',1624528707349651456,2,'2ZK3NJ2OQYKX','hdm_regselfhelpbill'); 


-- 预置hdm_regselfhelpbill'查询'权限项独立授权
DELETE FROM t_hrcs_permrelatcfg WHERE FID = 1622552528816301056;
INSERT INTO t_hrcs_permrelatcfg(FID,FCREATETIME,FISSYSPRESET,FPERMITEMID,FMODIFIERID,FMODIFYTIME,FAPPID,FISASSIGN,FCREATORID,FENTITYTYPEID) VALUES (1622552528816301056,{ts'2023-02-17  00:00:00'},'1','47150e89000000ac',13466739,{ts'2023-02-17  00:00:00'},'2ZK3NJ2OQYKX','1',0,'hdm_regselfhelpbill'); 

