|
@@ -115,8 +115,35 @@ CREATE TABLE `xxl_job_lock` (
|
|
|
PRIMARY KEY (`lock_name`)
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
|
|
-INSERT INTO `xxl_job_user`(`id`, `username`, `password`, `role`, `permission`) VALUES (1, 'admin', 'e10adc3949ba59abbe56e057f20f883e', 1, NULL);
|
|
|
-INSERT INTO `xxl_job_lock` ( `lock_name`) VALUES ( 'schedule_lock');
|
|
|
-INSERT INTO `xxl_job_group`(`id`, `app_name`, `title`, `address_type`, `address_list`, `update_time`) VALUES (1, 'oe-task-executor', '网考任务执行器', 0, NULL, now());
|
|
|
-INSERT INTO `xxl_job_info`(`id`, `job_group`, `job_desc`, `add_time`, `update_time`, `author`, `alarm_email`, `schedule_type`, `schedule_conf`, `misfire_strategy`, `executor_route_strategy`, `executor_handler`, `executor_param`, `executor_block_strategy`, `executor_timeout`, `executor_fail_retry_count`, `glue_type`, `glue_source`, `glue_remark`, `glue_updatetime`, `child_jobid`)
|
|
|
-VALUES (1, 1, '同步考试记录任务', now(), now(), '管理员', '', 'NONE', '', 'DO_NOTHING', 'FIRST', 'syncExamRecordJobHandler', '', 'SERIAL_EXECUTION', 0, 0, 'BEAN', '', 'GLUE代码初始化', now(), '');
|
|
|
+
|
|
|
+
|
|
|
+INSERT INTO `xxl_job_user`(`id`, `username`, `password`, `role`, `permission`)
|
|
|
+VALUES (1, 'admin', 'e10adc3949ba59abbe56e057f20f883e', 1, NULL);
|
|
|
+
|
|
|
+INSERT INTO `xxl_job_lock` (`lock_name`)
|
|
|
+VALUES ('schedule_lock');
|
|
|
+
|
|
|
+INSERT INTO `xxl_job_group`(`id`, `app_name`, `title`, `address_type`, `address_list`, `update_time`)
|
|
|
+VALUES (1, 'oe-task-executor', '网考任务执行器', 0, NULL, now());
|
|
|
+
|
|
|
+INSERT INTO `xxl_job_info`(`job_group`, `job_desc`, `add_time`, `update_time`, `author`, `alarm_email`, `schedule_type`,
|
|
|
+ `schedule_conf`, `misfire_strategy`, `executor_route_strategy`, `executor_handler`,
|
|
|
+ `executor_param`, `executor_block_strategy`, `executor_timeout`, `executor_fail_retry_count`,
|
|
|
+ `glue_type`, `glue_source`, `glue_remark`, `glue_updatetime`, `child_jobid`)
|
|
|
+VALUES (1, '处理交卷前考试数据任务', now(), now(), '管理员', '', 'NONE', '', 'DO_NOTHING', 'SHARDING_BROADCAST',
|
|
|
+ 'beforeHandInExamJobHandler', '', 'DISCARD_LATER', 0, 0, 'BEAN', '', 'GLUE代码初始化', now(), '');
|
|
|
+
|
|
|
+INSERT INTO `xxl_job_info`(`job_group`, `job_desc`, `add_time`, `update_time`, `author`, `alarm_email`, `schedule_type`,
|
|
|
+ `schedule_conf`, `misfire_strategy`, `executor_route_strategy`, `executor_handler`,
|
|
|
+ `executor_param`, `executor_block_strategy`, `executor_timeout`, `executor_fail_retry_count`,
|
|
|
+ `glue_type`, `glue_source`, `glue_remark`, `glue_updatetime`, `child_jobid`)
|
|
|
+VALUES (1, '处理交卷后考试数据任务', now(), now(), '管理员', '', 'NONE', '', 'DO_NOTHING', 'SHARDING_BROADCAST',
|
|
|
+ 'afterHandInExamJobHandler', '', 'DISCARD_LATER', 0, 0, 'BEAN', '', 'GLUE代码初始化', now(), '');
|
|
|
+
|
|
|
+INSERT INTO `xxl_job_info`(`job_group`, `job_desc`, `add_time`, `update_time`, `author`, `alarm_email`, `schedule_type`,
|
|
|
+ `schedule_conf`, `misfire_strategy`, `executor_route_strategy`, `executor_handler`,
|
|
|
+ `executor_param`, `executor_block_strategy`, `executor_timeout`, `executor_fail_retry_count`,
|
|
|
+ `glue_type`, `glue_source`, `glue_remark`, `glue_updatetime`, `child_jobid`)
|
|
|
+VALUES (1, '同步考试记录数据任务', now(), now(), '管理员', '', 'NONE', '', 'DO_NOTHING', 'SHARDING_BROADCAST',
|
|
|
+ 'syncExamRecordDataJobHandler', '', 'DISCARD_LATER', 0, 0, 'BEAN', '', 'GLUE代码初始化', now(), '');
|
|
|
+
|