自动化立体仓库 - WMS系统
zhang
2025-05-16 2ca8076932a6e2f6d189457a49cee5fd7f131c4a
src/main/java/com/zy/nc/task/PlanOrderTask.java
@@ -40,17 +40,30 @@
            log.error(returnT.getMsg());
        }
    }
    /**
     * 转库
     * 采购到货单
     *
     * @return
     */
    @Scheduled(cron = "0/3 * * * * ? ")
    public void execute3() {
//        ReturnT<String> returnT = planOrderHandler.start2();
//        if (!returnT.isSuccess()) {
//            log.error(returnT.getMsg());
//        }
        ReturnT<String> returnT = planOrderHandler.start3();
        if (!returnT.isSuccess()) {
            log.error(returnT.getMsg());
        }
    }
    /**
     * 盘点单
     *
     * @return
     */
    @Scheduled(cron = "0/3 * * * * ? ")
    public void execute4() {
        ReturnT<String> returnT = planOrderHandler.start4();
        if (!returnT.isSuccess()) {
            log.error(returnT.getMsg());
        }
    }
}