自动化立体仓库 - WMS系统
1
zhangc
2025-02-07 aa2d520a06c371e76ef26c78d426a01fca76a2fc
src/main/java/com/zy/asrs/task/OverYearLogScheduler.java
@@ -19,12 +19,18 @@
    @Autowired
    private OverYearLogHandler overYearLogHandler;
    @Scheduled(cron = "0/3 * * * * ? ")
    @Scheduled(cron = "0/1 * * * * ? ")
    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());
        }
    }
}