-- 人员修订记录 新增权限 控权不授权
DELETE FROM t_hrcs_entityforbid WHERE FID = 1959506108276162560;
INSERT INTO t_hrcs_entityforbid(FID,FCREATETIME,FISSYSPRESET,FPERMITEMID,FMODIFIERID,FMODIFYTIME,FAPPID,FFORBIDTYPE,FCREATORID,FENTITYTYPEID) VALUES (1959506108276162560,{ts'2024-05-27  00:00:00'},'1','47156aff000000ac',1,{ts'2024-05-27  00:00:00'},'0NXW1VOPH+QV','5',1,'hpdi_empreviselog'); 

-- 增加人员信息修订记录的行政组织 关联 关联组织团队 维度
DELETE FROM t_hrcs_entityctrl WHERE FID = 1959500873013019648;
INSERT INTO t_hrcs_entityctrl(FID,FCREATETIME,FMODIFIERID,FMODIFYTIME,FAPPID,FCREATORID,FENTITYTYPEID) VALUES (1959500873013019648,{ts'2024-05-27  00:00:00'},1,{ts'2024-05-27  00:00:00'},'0NXW1VOPH+QV',1,'hpdi_empreviselog'); 
DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1959500873013018624;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION,FAUTHRANGE) VALUES (1959500873013019648,'0','1','adminorg',1959500873013018624,1109486343509107712,1,' ','3'); 

-- 角色关联维度增加预置数据
DELETE FROM t_hrcs_dimensionprop WHERE FENTRYID = 1960998489026608128;
INSERT INTO t_hrcs_dimensionprop(FID,FCREATETIME,FMODIFIERID,FENABLE,FPROPKEY,FENTRYID,FMODIFYTIME,FSEQ,FAPPID,FCREATORID,FENTITYTYPEID) VALUES (1414521852922954753,NULL,0,'1','adminorg',1960998489026608128,NULL,0,'0NXW1VOPH+QV',0,'hpdi_empreviselog'); 


-- 权限树,增加 人员信息修订记录 权限树配置
DELETE FROM t_hrcs_entitytreecfg WHERE FID = 1959512018318935040;
INSERT INTO t_hrcs_entitytreecfg(FID,FINDEX,FCREATETIME,FMODIFIERID,FMODIFYTIME,FAPPID,FCREATORID,FENTITYTYPEID) VALUES (1959512018318935040,7,{ts'2024-05-27  00:00:00'},13466739,{ts'2024-05-27  00:00:00'},'0NXW1VOPH+QV',13466739,'hpdi_empreviselog'); 


update t_hrcs_entitytreecfg set findex = 8 where fid = 1363004795526335488;
update t_hrcs_entitytreecfg set findex = 9 where fid = 1351335214831385607;
update t_hrcs_entitytreecfg set findex = 10 where fid = 1351335214831385609;
update t_hrcs_entitytreecfg set findex = 11 where fid = 1351335214831385610;
update t_hrcs_entitytreecfg set findex = 12 where fid = 1351335214832385610;