From 635417c5b06174b86488c317bb9023f89039eced Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期五, 20 十二月 2024 15:26:53 +0800 Subject: [PATCH] 优化库位查找逻辑及AGV工作处理 --- src/main/java/com/zy/asrs/task/handler/OrderSyncHandler.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/OrderSyncHandler.java b/src/main/java/com/zy/asrs/task/handler/OrderSyncHandler.java index 7de6ce3..1ee74bd 100644 --- a/src/main/java/com/zy/asrs/task/handler/OrderSyncHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/OrderSyncHandler.java @@ -91,7 +91,8 @@ return; } - List<String> docNames = new ArrayList<>(Arrays.asList("閾跺骇閲囪喘鍏ュ簱鍗�", "閾跺骇濮斿鏉愭枡鍑哄簱鍗�", "閾跺骇鐢熶骇鏉愭枡鍑哄簱鍗�")); + List<String> docNames = new ArrayList<>(Arrays.asList("閾跺骇閲囪喘鍏ュ簱鍗�")); + //List<String> docNames = new ArrayList<>(Arrays.asList("閾跺骇閲囪喘鍏ュ簱鍗�", "閾跺骇濮斿鏉愭枡鍑哄簱鍗�", "閾跺骇鐢熶骇鏉愭枡鍑哄簱鍗�")); DocType docType = docTypeService.selectById(order.getDocType()); if (docNames.contains(docType.getDocName())) { @@ -140,7 +141,7 @@ } param.set鎿嶄綔鍗曟嵁(order.getDocType$()); param.set鎿嶄綔绫诲瀷("add"); - param.setDdate(order.getInTime()); + param.setDdate(DateUtils.convert(new Date(), DateUtils.yyyyMMdd_F)); param.setCWhCode(Cools.isEmpty(order.getPltType()) ? "" : order.getPltType() + ""); param.setCDepCode("YZ"); param.setCOrderCode(order.getOrderNo()); -- Gitblit v1.9.1