-- 业务对象维度映射(预入职申请 所属组织字段)
DELETE FROM T_HRCS_ENTITYCTRL WHERE FID = 1813846111312615424;
INSERT INTO T_HRCS_ENTITYCTRL(FID,FCREATETIME,FMODIFIERID,FMODIFYTIME,FAPPID,FCREATORID,FENTITYTYPEID) VALUES (1813846111312615424,{ts'2023-11-08  00:00:00'},13466739,{ts'2023-11-08  00:00:00'},'1WXB5G9/BL46',13466739,'hom_preonbrdbasebill');

-- 业务对象维度映射分录表(预入职申请 所属组织. 入职部门字段)
DELETE FROM T_HRCS_ENTITYDIMENTRY WHERE FENTRYID = 1819618954792990720;
INSERT INTO T_HRCS_ENTITYDIMENTRY(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION,FAUTHRANGE) VALUES (1813846111312615424,'0','1','aadminorg',1819618954792990720,1109486343509107712,2,' ','2');
DELETE FROM T_HRCS_ENTITYDIMENTRY WHERE FENTRYID = 1813847285138921472;
INSERT INTO T_HRCS_ENTITYDIMENTRY(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION,FAUTHRANGE) VALUES (1813846111312615424,'0','1','affiliationorg',1813847285138921472,1109486343509107712,1,' ','3');



-- 预置预入职申请查看流程图关联权限项
DELETE FROM t_hrcs_permrelat WHERE FID = 1813895330824132608;
INSERT INTO t_hrcs_permrelat(FID,FCREATETIME,FPERMITEMID,FMODIFIERID,FMODIFYTIME,FAPPID,FDESCRIPTION,FCREATORID,FENTITYTYPEID) VALUES (1813895330824132608,{ts'2023-11-08  00:00:00'},'QXX0001',13466739,{ts'2023-11-08  00:00:00'},'1WXB5G9/BL46',' ',13466739,'hom_preonbrdbasebill'); 

-- 预置关联权限项分录表
DELETE FROM t_hrcs_permrelatentry WHERE FENTRYID = 1813895330824133632;
INSERT INTO t_hrcs_permrelatentry(FID,FISSYSPRESET,FPERMITEMID,FENTRYID,FSEQ,FAPPID,FENTITYTYPEID) VALUES (1813895330824132608,'1','QXX0349',1813895330824133632,1,'1WXB5G9/BL46','hom_preonbrdbasebill');