自动化立体仓库 - WMS系统
1
zhangc
2025-01-17 e609c7adf42ef6eea053ff33a8e59abaf0767df6
src/main/java/com/zy/asrs/task/OverYearLogScheduler.java
@@ -20,11 +20,19 @@
    private OverYearLogHandler overYearLogHandler;
    @Scheduled(cron = "0/1 * * * * ? ")
    private void execute(){
    private void execute() {
        ReturnT<String> returnT = overYearLogHandler.start();
        if (!returnT.isSuccess()) {
            log.error(returnT.getMsg());
        }
    }
    @Scheduled(cron = "* * 1 * * ? ")
    private void executeOrderLog() {
        ReturnT<String> returnT = overYearLogHandler.start2();
        if (!returnT.isSuccess()) {
            log.error(returnT.getMsg());
        }
    }
}