|
@@ -0,0 +1,15 @@
|
|
|
+package com.zcxk.xxljob.jobs;
|
|
|
+import com.xxl.job.core.biz.model.ReturnT;
|
|
|
+import com.xxl.job.core.handler.annotation.XxlJob;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
+@Slf4j
|
|
|
+@Component
|
|
|
+public class MeasurementSettlementRecordHander {
|
|
|
+ @XxlJob("demoJobHandler")
|
|
|
+ public ReturnT<String> execute(String s) throws Exception {
|
|
|
+ log.info("开始执行分发任务");
|
|
|
+ return ReturnT.SUCCESS;
|
|
|
+ }
|
|
|
+}
|