|
@@ -130,7 +130,7 @@ INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence
|
|
|
INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `enable`, `default_auth`, `front_display`) VALUES ('1003', '任务释放', '/api/scan/task/omr/release', 'URL', '970', '33', 'AUTH', '1', '1', '1');
|
|
|
INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `enable`, `default_auth`, `front_display`) VALUES ('1004', '任务历史', '/api/scan/task/omr/history', 'URL', '970', '34', 'AUTH', '1', '1', '1');
|
|
|
INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `enable`, `default_auth`, `front_display`) VALUES ('1005', '答题卡二次识别', '/api/scan/answer/refix', 'URL', '970', '35', 'AUTH', '1', '1', '1');
|
|
|
-INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`,`related`, `enable`, `default_auth`, `front_display`) VALUES ('1006', '查询条件', 'Condition', 'CONDITION', '970', '1', 'AUTH','971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1007', '1', '1', '1');
|
|
|
+INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`,`related`, `enable`, `default_auth`, `front_display`) VALUES ('1006', '查询条件', 'Condition', 'CONDITION', '970', '1', 'AUTH','971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1007', '1', '0', '1');
|
|
|
INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `enable`, `default_auth`, `front_display`) VALUES ('1007', '未扫描-导出', '/api/scan/student/unexist/export', 'URL', '970', '36', 'AUTH', '1', '1', '1');
|
|
|
INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `enable`, `default_auth`, `front_display`) VALUES ('1008', '仲裁-评卷历史', '/api/admin/mark/arbitrate/getHistory', 'URL', '917', '20', 'AUTH', '1', '1', '1');
|
|
|
DELETE FROM `sys_privilege` WHERE (`id` = '392');
|
|
@@ -210,4 +210,16 @@ INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence
|
|
|
INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `enable`, `default_auth`, `front_display`) VALUES ('1009', '任务列表', '/api/scan/task/omr/list', 'URL', '970', '37', 'AUTH', '1', '1', '1');
|
|
|
UPDATE `sys_privilege` SET `property` = 'SYS' WHERE (`id` = '370');
|
|
|
delete from sys_config where config_key = 'cloudmark.host.url';
|
|
|
-delete from sys_config where config_key = 'cloudmark.sync.mode';
|
|
|
+delete from sys_config where config_key = 'cloudmark.sync.mode';
|
|
|
+DELETE FROM `sys_privilege` WHERE (`id` = '546');
|
|
|
+DELETE FROM `sys_privilege` WHERE (`id` = '545');
|
|
|
+DELETE FROM `sys_privilege` WHERE (`id` = '544');
|
|
|
+INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `enable`, `default_auth`, `front_display`) VALUES ('544', '报告下载', '/api/admin/mark/archive/score/report/download', 'URL', '488', '3', 'AUTH', '1', '1', '1');
|
|
|
+UPDATE `sys_privilege` SET `related` = '490,543,544' WHERE (`id` = '488');
|
|
|
+DELETE FROM `sys_privilege` WHERE (`id` = '502');
|
|
|
+DELETE FROM `sys_privilege` WHERE (`id` = '563');
|
|
|
+DELETE FROM `sys_privilege` WHERE (`id` = '504');
|
|
|
+DELETE FROM `sys_privilege` WHERE (`id` = '505');
|
|
|
+UPDATE `sys_privilege` SET `related` = '490,543' WHERE (`id` = '488');
|
|
|
+UPDATE `sys_privilege` SET `related` = '494,544' WHERE (`id` = '489');
|
|
|
+UPDATE `sys_privilege` SET `parent_id` = '489', `sequence` = '2' WHERE (`id` = '544');
|