From e3c6822ec1be31befa58a0c520984f76decf8aec Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期二, 26 十二月 2023 14:43:54 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java index 0b0eabe..67987d5 100644 --- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java @@ -187,12 +187,14 @@ ToWmsDTO toWmsDTO = new ToWmsDTO(); Map<String, Object> map = new HashMap<>(); map.put("x-api-key","7a15b5db-29b6-552c-8cff-0cfec3756da2"); - List<Integer> list = openServiceImpl.getInEnableRoadway(); + TaskWrk taskWrk = taskWrkService.selectOne(new EntityWrapper<TaskWrk>().eq("barcode", barcode)); if (Cools.isEmpty(taskWrk)){ continue; } + List<Integer> list = new ArrayList<>(); + list.add(taskWrk.getCrnNo()); //StaDesc staDesc1 = staDescService.selectOne(new EntityWrapper<StaDesc>().eq("stn_no",inSta.getBackSta())); if (taskWrk.getTargetPoint() != null && taskWrk.getStartPoint() != null){ if ( taskWrk.getWrkNo() != null && taskWrk.getWrkNo().shortValue() == workNo ){ -- Gitblit v1.9.1