自动化立体仓库 - WMS系统
zjj
2024-09-03 e1c7f150792a5085dd64e86e6af82820ab34dc05
src/main/java/com/zy/asrs/task/ErrorStockScheduler.java
@@ -20,7 +20,7 @@
    @Autowired
    private ErrorStockHandler errorStockHandler;
    @Scheduled(cron = "0/3 * * * * ? ")
//    @Scheduled(cron = "0/60 * * * * ? ")
    private void execute(){
        ReturnT<String> returnT = errorStockHandler.start();
        if (!returnT.isSuccess()) {
@@ -28,6 +28,14 @@
        }
    }
  @Scheduled(cron = "0/60 * * * * ? ")
    private void executeAgv(){
        ReturnT<String> returnT = errorStockHandler.startAgv();
        if (!returnT.isSuccess()) {
            log.error(returnT.getMsg());
        }
    }
//    @Autowired
//    private BasErrLogService basErrLogService;
//    @Autowired