KKSU
2024-05-13 65dcda4e2d732f40d8507d200f4539a7a393c1fc
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
package cc.mrbird.febs.job;
 
import cc.mrbird.febs.dapp.service.DappSystemService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Component;
 
/**
 * @author wzy
 * @date 2022-05-30
 **/
@Slf4j
@Component
@ConditionalOnProperty(prefix = "system", name = "reset-job", havingValue = "true")
public class MatrixResetJob {
 
    @Autowired
    private DappSystemService systemService;
 
//    @Scheduled(cron = "0 0 0 * * ?")
//    public void resetMatrix() {
////        log.info("重置");
////        systemService.resetMatrix();
//    }
}