#
Junjie
2 天以前 6cf4a3e2ba925e75b60f13bb8ebc5e92d37809b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.zy.asrs.task.main;
 
import com.zy.asrs.utils.ShuttleTaskUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
 
@Component
public class ShuttleTaskExecuteScheduler {
 
    @Autowired
    private ShuttleTaskUtils shuttleTaskUtils;
 
    @Scheduled(cron = "0/3 * * * * ? ")
    public void shuttleFinished() {
        //四向穿梭车任务完成
        shuttleTaskUtils.shuttleFinished();
    }
 
}