
/* 202306版本增加管理员领域的可设置系统管辖范围 */

/* 初始化记录 */

DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525335;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525335,0,'15NPDX/GJFOO','hrcs_perminitrecord','47150e89000000ac');

DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525338;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525338,0,'15NPDX/GJFOO','hrcs_perminitrecord','34P59TIFN1NO');
DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525339;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525339,0,'15NPDX/GJFOO','hrcs_perminitrecord','34P6P4LQTSUJ');

/* 角色列表 */
DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525340;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525340,0,'15NPDX/GJFOO','hrcs_rolequery','3728=2A7G7T2');
DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525341;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525341,0,'15NPDX/GJFOO','hrcs_rolequery','34P59TIFN1NO');
 
/* 用户授权 */
DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525342;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525342,0,'15NPDX/GJFOO','hrcs_permfilequery','3728=2A7G7T2');
DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525343;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525343,0,'15NPDX/GJFOO','hrcs_permfilequery','34P59TIFN1NO');
 
/* 业务对象维度映射 */
DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525344;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525344,0,'15NPDX/GJFOO','hrcs_entityctrl','4730fc9f000004ae');
DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525345;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525345,0,'15NPDX/GJFOO','hrcs_entityctrl','4730fc9f000003ae');
 
 DELETE FROM T_PERM_ADMINDOMAINRANGE WHERE fentryid=1386267129346525346;
 INSERT INTO T_PERM_ADMINDOMAINRANGE(fid,fentryid,fseq,fappid,fentitynum,fpermitemid)
 VALUES(1386267129346523136,1386267129346525346,0,'15NPDX/GJFOO','hrcs_permfilequery','4730fc9f000004ae');