Pu Zhibing
2025-04-16 7cb8a6506062d0489dcd601a375f9dc89cbf6b4a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//package com.ruoyi.integration.util;
//
//import com.ruoyi.integration.mongodb.service.PingService;
//import com.ruoyi.integration.mongodb.service.PongService;
//import com.ruoyi.integration.rocket.produce.ChargingMessageListener;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.Resource;
//
//
///**
// * @author zhibing.pu
// * @date 2023/7/11 8:39
// */
//@Component
//public class JianGuanTask {
//
//    @Resource
//    private ChargingMessageListener chargingMessageListener;
//
//    @Resource
//    private PingService pingService;
//
//    @Resource
//    private PongService pongService;
//
//
//    /**
//     * 5分钟执行的定时任务
//     */
//    @Scheduled(fixedRate = 300000)
//    public void taskMonth() {
//        chargingMessageListener.transactionRecord();
//    }
//
//
//
//    @Scheduled(cron = "0 0 3 * * ?")
//    public void task2() {
////        pingService.delPing();
////        pongService.delPong();
//    }
//}