/* 新增虚拟管理员对于 配置工具-单点登录 的权限  BT-00226524 */
/* 以下分为四组情况，三组是三权分立情况下给三个虚拟管理员添加“单点登录”下的三个表单，一组是超级管理权限策略下给administrator添加 */

DELETE FROM t_perm_adminschemedetail where FDETAILID in(621334583413065894, 621334583413065895,621334583413065896);
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586840171824022529, 621334583413065894, 0, '18XR3MJ0W0ET', 'cts_dingding');      /* 钉钉 */
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586840171824022529, 621334583413065895, 0, '18XR3MJ0W0ET', 'cts_wxgzh');         /* 微信公众号 */
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586840171824022529, 621334583413065896, 0, '18XR3MJ0W0ET', 'cts_wxqyh');         /* 企业微信号 */

DELETE FROM t_perm_adminschemedetail where FDETAILID in(621334583413065897, 621334583413065898,621334583413065899);
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586840171824022530, 621334583413065897, 0, '18XR3MJ0W0ET', 'cts_dingding');
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586840171824022530, 621334583413065898, 0, '18XR3MJ0W0ET', 'cts_wxgzh');
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586840171824022530, 621334583413065899, 0, '18XR3MJ0W0ET', 'cts_wxqyh');

DELETE FROM t_perm_adminschemedetail where FDETAILID in(621334583413065900, 621334583413065901,621334583413065902);
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586840171824022531, 621334583413065900, 0, '18XR3MJ0W0ET', 'cts_dingding');
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586840171824022531, 621334583413065901, 0, '18XR3MJ0W0ET', 'cts_wxgzh');
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586840171824022531, 621334583413065902, 0, '18XR3MJ0W0ET', 'cts_wxqyh');

DELETE FROM t_perm_adminschemedetail where FDETAILID in(621334583413065903, 621334583413065904,621334583413065905);
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586817719983145985, 621334583413065903, 0, '18XR3MJ0W0ET', 'cts_dingding');
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586817719983145985, 621334583413065904, 0, '18XR3MJ0W0ET', 'cts_wxgzh');
INSERT INTO t_perm_adminschemedetail (FENTRYID, FDETAILID, FSEQ, FBIZAPPID, FENTITYNUM) VALUES (586817719983145985, 621334583413065905, 0, '18XR3MJ0W0ET', 'cts_wxqyh');
