xuxueli vor 6 Jahren
Ursprung
Commit
dc38be9eb8

+ 4 - 1
doc/db/tables_xxl_job.sql Datei anzeigen

@@ -221,7 +221,10 @@ CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_GROUP` (
221 221
   PRIMARY KEY (`id`)
222 222
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
223 223
 
224
-INSERT INTO `XXL_JOB_QRTZ_TRIGGER_GROUP` ( `app_name`, `title`, `order`, `address_type`, `address_list`) values ( 'xxl-job-executor-sample', '示例执行器', '1', '0', null);
224
+
225
+
226
+INSERT INTO `XXL_JOB_QRTZ_TRIGGER_GROUP`(`id`, `app_name`, `title`, `order`, `address_type`, `address_list`) VALUES (1, 'xxl-job-executor-sample', '示例执行器', 1, 0, NULL);
227
+INSERT INTO `XXL_JOB_QRTZ_TRIGGER_INFO`(`id`, `job_group`, `job_cron`, `job_desc`, `add_time`, `update_time`, `author`, `alarm_email`, `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, '0 0 0 * * ? *', '测试任务1', '2018-11-03 22:21:31', '2018-11-03 22:21:31', '许雪里', '', 'FIRST', 'demoJobHandler', '', 'SERIAL_EXECUTION', 0, 0, 'BEAN', '', 'GLUE代码初始化', '2018-11-03 22:21:31', '');
225 228
 
226 229
 commit;
227 230
 

+ 3 - 0
xxl-job-executor-samples/xxl-job-executor-sample-springboot/src/main/java/com/xxl/job/executor/XxlJobExecutorApplication.java Datei anzeigen

@@ -3,6 +3,9 @@ package com.xxl.job.executor;
3 3
 import org.springframework.boot.SpringApplication;
4 4
 import org.springframework.boot.autoconfigure.SpringBootApplication;
5 5
 
6
+/**
7
+ * @author xuxueli 2018-10-28 00:38:13
8
+ */
6 9
 @SpringBootApplication
7 10
 public class XxlJobExecutorApplication {
8 11