自动化立体仓库 - WMS系统
whycq
2024-05-28 e62ee0fb93bdb95c462c963e88781ed940da648e
src/main/java/com/zy/asrs/task/AutoMoveScheduler.java
@@ -50,6 +50,23 @@
        List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>()
                .eq("wrk_sts", 22)
                .andNew().eq("io_type",108)
                        .eq("crn_no",2)
                );
        if (agvWrkMastList.isEmpty()) {
            return;
        }
        for (AgvWrkMast agvWrkMast : agvWrkMastList) {
            ReturnT<String> returnT = autoMoveHandler.start2(agvWrkMast);
        }
    }
    @Scheduled(cron = "0/2 * * * * ? ")
    private void execute5(){
        List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>()
                .eq("wrk_sts", 22)
                .andNew().eq("io_type",108)
                .eq("crn_no",3)
                );
        if (agvWrkMastList.isEmpty()) {
            return;