-- 4.如果旧实体有配置业务对象维度映射，需要把旧实体替换成新实体
delete from t_hrcs_dimensionprop where fentryid in (1414637693131971584,1414637693131971586);

-- 6.如果旧实体配置了权限树顺序，需要把旧实体替换成新实体：
delete from t_hrcs_entitytreecfg where fid in (1401329508207831040,1401329507318638592);

--验权不授权(解决兼职档案只在调配显示，在人员那儿隐藏)
DELETE FROM t_hrcs_entityforbid WHERE FID = 1534184242697798656;
INSERT INTO t_hrcs_entityforbid(FID,FCREATETIME,FISSYSPRESET,FMODIFIERID,FMODIFYTIME,FAPPID,FFORBIDTYPE,FCREATORID,FENTITYTYPEID) VALUES (1534184242697798656,{ts'2022-10-18  00:00:00'},'0',13466739,{ts'2022-10-18  00:00:00'},'1WXBPN7+OHJZ','3',13466739,'hspm_parttimefilequery'); 


--删除hdm_parttimeapplybill元数据权限业务对象维度预置'所属管理范围'数据
DELETE FROM T_HRCS_ENTITYDIMENTRY WHERE FENTRYID =1419618312890994689;