#
luxiaotao1123
2021-11-23 0a060d5b56ae812711ae0e3def576263f71fcb3c
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
package zy.cloud.wms.common.service.task;
 
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RestController;
import zy.cloud.wms.manager.service.DiffValService;
 
/**
 * Created by vincent on 2021/11/23
 */
@Slf4j
@Component
public class DiffValScheduler {
 
    @Autowired
    private DiffValService diffValService;
 
    @Transactional
    @Scheduled(cron = "0/10 * * * * ? ")
    public void run() {
 
 
    }
 
}