自动化立体仓库 - WMS系统
lty
13 小时以前 9efecf90d32e39b2ecab8fd6c789300962fd5a97
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.zy.asrs.task;
 
import com.zy.asrs.task.core.ReturnT;
import org.springframework.scheduling.annotation.Scheduled;
 
import static org.reflections.Reflections.log;
 
public class ExceptionNoticeScheduler {
    @Scheduled(cron = "0/1 * * * * ? ")
    private void execute(){
        ReturnT<String> returnT = exceptionNoticeHandler.start();
        if (!returnT.isSuccess()) {
            log.error(returnT.getMsg());
        }
    }
}