#
Junjie
5 天以前 dad4b7fd3a7fcaed73d28f0ebd9e90d86ca21225
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();
    }
 
}