--业务对象维度映射
DELETE FROM t_hrcs_entityctrl WHERE FID = 1391483354662063104;
DELETE FROM t_hrcs_entityctrl WHERE FID = 1391483939314466816;
INSERT INTO t_hrcs_entityctrl(FID,FCREATETIME,FMODIFIERID,FMODIFYTIME,FAPPID,FCREATORID,FENTITYTYPEID) VALUES (1391483939314466816,{ts'2022-04-04  00:00:00'},13466739,{ts'2022-04-04  00:00:00'},'0NXW1VOPH+QV',13466739,'hpdi_bizdatabill'); 
DELETE FROM t_hrcs_entityctrl WHERE FID = 1391484602752715776;
INSERT INTO t_hrcs_entityctrl(FID,FCREATETIME,FMODIFIERID,FMODIFYTIME,FAPPID,FCREATORID,FENTITYTYPEID) VALUES (1391484602752715776,{ts'2022-04-04  00:00:00'},13466739,{ts'2022-04-04  00:00:00'},'0NXW1VOPH+QV',13466739,'hpdi_bizdataerrorlog'); 
DELETE FROM t_hrcs_entityctrl WHERE FID = 1395677577988809728;
INSERT INTO t_hrcs_entityctrl(FID,FCREATETIME,FMODIFIERID,FMODIFYTIME,FAPPID,FCREATORID,FENTITYTYPEID) VALUES (1395677577988809728,{ts'2022-04-10  00:00:00'},13466739,{ts'2022-04-10  00:00:00'},'0NXW1VOPH+QV',13466739,'hpdi_allbizdata'); 
DELETE FROM t_hrcs_entityctrl WHERE FID = 1395678391314698240;
INSERT INTO t_hrcs_entityctrl(FID,FCREATETIME,FMODIFIERID,FMODIFYTIME,FAPPID,FCREATORID,FENTITYTYPEID) VALUES (1395678391314698240,{ts'2022-04-10  00:00:00'},13466739,{ts'2022-04-10  00:00:00'},'0NXW1VOPH+QV',13466739,'hpdi_notcirclebizdata'); 
DELETE FROM t_hrcs_entityctrl WHERE FID = 1395679223649149952;
INSERT INTO t_hrcs_entityctrl(FID,FCREATETIME,FMODIFIERID,FMODIFYTIME,FAPPID,FCREATORID,FENTITYTYPEID) VALUES (1395679223649149952,{ts'2022-04-10  00:00:00'},13466739,{ts'2022-04-10  00:00:00'},'0NXW1VOPH+QV',13466739,'hpdi_circlebizdata'); 

-- 业务对象维度映射分录
DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1391483354662043648;
DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1391483939314486272;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1391483939314466816,'0','1','adminorg',1391483939314486272,1109486343509107712,1,' ');
DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1391483939314486273;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1391483939314466816,'0','1','bizitemgroup',1391483939314486273,1386189615295269888,2,' ');
DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1391484602752696320;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1391484602752715776,'0','1','adminorg',1391484602752696320,1109486343509107712,1,' ');
DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1391484602752696321;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1391484602752715776,'0','1','bizitemgroup',1391484602752696321,1386189615295269888,2,' ');

-- 按ID删除，删除之前的预置数据
DELETE FROM t_hrcs_entitydimentry WHERE FID = 1395677577988809728;
DELETE FROM t_hrcs_entitydimentry WHERE FID = 1395678391314698240;
DELETE FROM t_hrcs_entitydimentry WHERE FID = 1395679223649149952;

DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1559454714473493504;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1395677577988809728,'0','1','empposorgrel.adminorg',1559454714473493504,1109486343509107712,2,' ');
DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1395677577988820992;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1395677577988809728,'0','1','bizitemgroup',1395677577988820992,1386189615295269888,1,' ');

DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1559452272734254080;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1395678391314698240,'0','1','empposorgrel.adminorg',1559452272734254080,1109486343509107712,2,' ');
DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1395678391314686976;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1395678391314698240,'0','1','bizitemgroup',1395678391314686976,1386189615295269888,1,' ');

DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1559452451721984000;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1395679223649149952,'0','1','empposorgrel.adminorg',1559452451721984000,1109486343509107712,2,' ');
DELETE FROM t_hrcs_entitydimentry WHERE FENTRYID = 1395679223649161216;
INSERT INTO t_hrcs_entitydimentry(FID,FISMUST,FISSYSPRESET,FPROPKEY,FENTRYID,FDIMENSIONID,FSEQ,FDESCRIPTION) VALUES (1395679223649149952,'0','1','bizitemgroup',1395679223649161216,1386189615295269888,1,' ');

-- 业务对象维度映射分录多语言
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2BXFSNJ=YYOO';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2BXFSNJ=YYOO','zh_CN',1391483939314486272,'手工提报业务数据受行政组织维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2BXFSNJ=YYOP';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2BXFSNJ=YYOP','zh_TW',1391483939314486272,'手工提報業務數據受行政組織維度管控數據權限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2BXFSNJ=YYOQ';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2BXFSNJ=YYOQ','zh_CN',1391483939314486273,'手工提报业务数据受业务数据模板维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2BXFSNJ=YYOR';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2BXFSNJ=YYOR','zh_TW',1391483939314486273,'手工提報業務數據受業務數據模板維度管控數據權限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2BXFXH2IG9PH';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2BXFXH2IG9PH','zh_CN',1391484602752696320,'业务数据手工提报异常受行政组织维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2BXFXH2IG9PI';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2BXFXH2IG9PI','zh_TW',1391484602752696320,'業務數據手工提報異常受行政組織維度管控數據權限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2BXFXH2IG9PJ';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2BXFXH2IG9PJ','zh_CN',1391484602752696321,'业务数据手工提报异常受业务数据模板维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2BXFXH2IG9PK';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2BXFXH2IG9PK','zh_TW',1391484602752696321,'業務數據手工提報異常受業務數據模板維度管控數據權限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CEJBMHREIW1';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CEJBMHREIW1','zh_CN',1395677577988820992,'全量业务数据受业务数据模板维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CEJBMHREIW2';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CEJBMHREIW2','zh_TW',1395677577988820992,'全量業務數據受業務數據模板維度管控數據權限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CEJHJN8VFIX';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CEJHJN8VFIX','zh_CN',1395678391314686976,'非循环业务数据受业务数据模板维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CEJHJN8VFIY';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CEJHJN8VFIY','zh_TW',1395678391314686976,'非循環業務數據受業務數據模板維度管控數據權限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CEJNM6EVTX5';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CEJNM6EVTX5','zh_CN',1395679223649161216,'循环业务数据受业务数据模板维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CEJNM6EVTX6';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CEJNM6EVTX6','zh_TW',1395679223649161216,'循環業務數據受業務數據模板維度管控數據權限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CL8B7CEDHUG';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CL8B7CEDHUG','zh_CN',1397074395624637440,'全量业务数据受行政组织维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CL8B7CEDHUH';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CL8B7CEDHUH','zh_TW',1397074395624637440,'全量業務數據受行政組織維度管控數據權限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CL837TLUSC+';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CL837TLUSC+','zh_CN',1397073162096609280,'循环业务数据受行政组织维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CL837TLUSC/';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CL837TLUSC/','zh_TW',1397073162096609280,'循環業務數據受行政組織維度管控數據權限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CL88HYIAVZ8';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CL88HYIAVZ8','zh_CN',1397073887400821760,'非循环业务数据受行政组织维度管控数据权限。');
DELETE FROM t_hrcs_entitydimentry_l WHERE FPKID = '2CL88HYIAVZ9';
-- INSERT INTO t_hrcs_entitydimentry_l(FPKID,FLOCALEID,FENTRYID,FDESCRIPTION) VALUES ('2CL88HYIAVZ9','zh_TW',1397073887400821760,'非循環業務數據受行政組織維度管控數據權限。');

--2022/9/1 中台支持多种团队类型，新增团队分类字段，默认为行政组织,分录多选基础资料字段
DELETE FROM T_HRCS_ENTITYCROSSOT WHERE FPKID = 1391483939314486272;
INSERT INTO T_HRCS_ENTITYCROSSOT(FBASEDATAID,FPKID,FENTRYID) VALUES (1010,1391483939314486272,1391483939314486272); 
DELETE FROM T_HRCS_ENTITYCROSSOT WHERE FPKID = 1391484602752696320;
INSERT INTO T_HRCS_ENTITYCROSSOT(FBASEDATAID,FPKID,FENTRYID) VALUES (1010,1391484602752696320,1391484602752696320); 
DELETE FROM T_HRCS_ENTITYCROSSOT WHERE FPKID = 1397074395624637440;
INSERT INTO T_HRCS_ENTITYCROSSOT(FBASEDATAID,FPKID,FENTRYID) VALUES (1010,1397074395624637440,1397074395624637440); 
DELETE FROM T_HRCS_ENTITYCROSSOT WHERE FPKID = 1397073887400821760;
INSERT INTO T_HRCS_ENTITYCROSSOT(FBASEDATAID,FPKID,FENTRYID) VALUES (1010,1397073887400821760,1397073887400821760); 
DELETE FROM T_HRCS_ENTITYCROSSOT WHERE FPKID = 1397073162096609280;
INSERT INTO T_HRCS_ENTITYCROSSOT(FBASEDATAID,FPKID,FENTRYID) VALUES (1010,1397073162096609280,1397073162096609280); 
