自动化立体仓库 - WMS系统
zjj
2023-09-13 8a984617b478a0a424c7fd033c7bb8c88bac5d85
src/main/java/com/zy/asrs/task/OrderMoveHistoryScheduler.java
@@ -9,14 +9,13 @@
@Component
public class OrderMoveHistoryScheduler {
    @Autowired
    private OrderMoveHistoryHandler handler;
    private OrderMoveHistoryHandler orderMoveHistoryHandler;
    /**
     * 将已完成order和orderDetl移动到log表
     */
    @Scheduled(cron = "0/30 * * * * ?")
    public void execute(){
        handler.move();
        orderMoveHistoryHandler.start();
    }
}