自动化立体仓库 - WMS系统
#
gtctu
6 天以前 d029518fd1ce9170fcf276b28d76d8d7b4f3a948
src/main/java/com/zy/asrs/task/WorkMastScheduler.java
@@ -109,8 +109,12 @@
//
//    }
    @Scheduled(cron = "0/3 * * * * ? ") //出库库任务下发
//    @Scheduled(cron = "0/3 * * * * ? ") //出库库任务下发
    private void ShuttleOutTaskSend(){
        List<WrkMast> wrkMastsMove = wrkMastService.selectList(new EntityWrapper<WrkMast>().eq("crn_no",7).eq("wrk_sts", 11).eq("io_type",11));
        if (!wrkMastsMove.isEmpty()) {
            return;
        }
        List<WrkMast> wrkMasts1 = wrkMastService.selectList(new EntityWrapper<WrkMast>()
                .in("io_type", 1,10,53,54,57).eq("crn_no",7));
        if (!Cools.isEmpty(wrkMasts1)){
@@ -154,9 +158,9 @@
    }
    @Scheduled(cron = "0/3 * * * * ? ") //移库任务下发
//    @Scheduled(cron = "0/3 * * * * ? ") //移库任务下发
    private void ShuttleMoveTaskSend(){
        List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>().eq("wrk_sts", 11).eq("io_type",11));
        List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>().eq("crn_no",7).eq("wrk_sts", 11).eq("io_type",11));
        if (wrkMasts.isEmpty()) {
            return;
        }
@@ -174,7 +178,7 @@
                param.setOriginLoc(originLoc1);
                param.setDestLoc(destLoc1);
                param.setRecord(true);
                param.setPriority("11");
                param.setPriority("21");
                String response = new HttpHandler.Builder()
                        .setUri(shuttleWcsUrl)
                        .setPath("/openapi/createLadenMoveTakeTask")