自动化立体仓库 - WMS系统
ZY
2025-05-14 c22b7331c0d215ba4b2e4b503d22dae853540290
src/main/java/com/zy/nc/task/PlanOrderTask.java
@@ -14,6 +14,12 @@
    @Autowired
    private PlanOrderHandler planOrderHandler;
    /**
     * 发货
     *
     * @return
     */
    @Scheduled(cron = "0/3 * * * * ? ")
    public void execute1() {
        ReturnT<String> returnT = planOrderHandler.start1();
@@ -22,6 +28,11 @@
        }
    }
    /**
     * 转库
     *
     * @return
     */
    @Scheduled(cron = "0/3 * * * * ? ")
    public void execute2() {
        ReturnT<String> returnT = planOrderHandler.start2();
@@ -29,5 +40,17 @@
            log.error(returnT.getMsg());
        }
    }
    /**
     * 转库
     *
     * @return
     */
    @Scheduled(cron = "0/3 * * * * ? ")
    public void execute3() {
//        ReturnT<String> returnT = planOrderHandler.start2();
//        if (!returnT.isSuccess()) {
//            log.error(returnT.getMsg());
//        }
    }
}