|
@@ -0,0 +1,22 @@
|
|
1
|
+package com.xiaoniu.niucai.task;
|
|
2
|
+
|
|
3
|
+import com.xiaoniu.niucai.service.ITaMatchService;
|
|
4
|
+import lombok.extern.slf4j.Slf4j;
|
|
5
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
6
|
+import org.springframework.stereotype.Component;
|
|
7
|
+
|
|
8
|
+@Slf4j
|
|
9
|
+@Component
|
|
10
|
+public class BettingDrawnFail implements Runnable {
|
|
11
|
+
|
|
12
|
+ @Autowired
|
|
13
|
+ ITaMatchService iTaMatchService;
|
|
14
|
+
|
|
15
|
+ @Override
|
|
16
|
+ public void run() {
|
|
17
|
+ log.info("开始处理出票失败的订单");
|
|
18
|
+
|
|
19
|
+ // 体彩中奖
|
|
20
|
+ iTaMatchService.callProcedure("pro_fail_drawn_betting");
|
|
21
|
+ }
|
|
22
|
+}
|