自动化立体仓库 - WMS系统
#
whycq
2024-12-27 f754e34c3822811bace989fae6a69dbcc3944d13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.zy.asrs.task;
 
import com.zy.asrs.task.handler.OrderMoveHistoryHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
 
 
@Component
public class OrderMoveHistoryScheduler {
    @Autowired
    private OrderMoveHistoryHandler orderMoveHistoryHandler;
 
    /**
     * 将已完成order和orderDetl移动到log表
     */
//    @Scheduled(cron = "0/30 * * * * ?")
    public void execute(){
        orderMoveHistoryHandler.start();
    }
}