自动化立体仓库 - WMS系统
#
lty
5 天以前 6fb055d07a4b1e3e4daa53db29addf015fb8e669
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 com.zy.asrs.task.handler.OrderReportHander;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
 
@Component
public class OrderReportScheduler {
 
    @Autowired
    private OrderReportHander orderReportHander;
    /**
     * 将已作业数量与完成数量相同的订单明细上报,若已上报将标识改为2
     */
//    @Scheduled(cron = "0/30 * * * * ?")
    public void execute(){
        orderReportHander.startPakIn();
        orderReportHander.startPakOut();
    }
}