自动化立体仓库 - WMS系统
*
lsh
8 小时以前 ccce88e6d7d432eaa9d6e4d6e77f34cd872abd36
src/main/java/com/zy/asrs/task/BareBoardScheduler.java
@@ -9,6 +9,7 @@
import com.zy.system.entity.Config;
import com.zy.system.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@@ -35,8 +36,9 @@
    @Autowired
    private WrkMastStaService wrkMastStaService;
    @Scheduled(cron = "0/3 * * * * ? ")
    private void execute(){//自动调空板出库 2楼码垛位置
    @Scheduled(cron = "0/10 * * * * ? ")
    @Async("orderThreadPool")
    public void execute(){//自动调空板出库 2楼码垛位置
        Config config = configService.selectOne(new EntityWrapper<Config>().eq("code","bareBoard"));
        if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("Y")){
            BasDevp basDevp = basDevpService.selectById(213);
@@ -47,7 +49,8 @@
    }
    @Scheduled(cron = "0/3 * * * * ? ")
    private void executeOne(){//自动调空板出库 1楼码垛位置
    @Async("orderThreadPool")
    public void executeOne(){//自动调空板出库 1楼码垛位置
        Config config = configService.selectOne(new EntityWrapper<Config>().eq("code","bareBoard"));
        if (!Cools.isEmpty(config) && !Cools.isEmpty(config.getValue()) && config.getValue().equals("Y")){
            boolean sign = true;