From 4e2164b1c1a2f8d19a2b873d01e6cb1740bc63d8 Mon Sep 17 00:00:00 2001 From: psh Date: Fri, 27 Oct 2023 09:39:57 +0800 Subject: [PATCH] fix --- .../java/org/nl/acs/task/service/impl/TaskServiceImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/task/service/impl/TaskServiceImpl.java b/acs/nladmin-system/src/main/java/org/nl/acs/task/service/impl/TaskServiceImpl.java index 87a639e..0c94d03 100644 --- a/acs/nladmin-system/src/main/java/org/nl/acs/task/service/impl/TaskServiceImpl.java +++ b/acs/nladmin-system/src/main/java/org/nl/acs/task/service/impl/TaskServiceImpl.java @@ -818,17 +818,15 @@ public class TaskServiceImpl implements TaskService, ApplicationAutoInitial { if (!StrUtil.startWith(entity.getTask_code(), "-") && StrUtil.equals(hasWms, "1")) { TaskFeedbackDto feefbackdto = taskFeedbackService.findByCode(entity.getTask_code()); System.out.println(feefbackdto == null); - JSONArray req = new JSONArray(); JSONObject map = new JSONObject(); map.put("uuid", IdUtil.simpleUUID()); map.put("taskNo", entity.getTask_id()); map.put("businessType", "COMPLETE"); - req.add(map); String message = null; HttpResponse body = null; boolean flag = false; try { - body = acstowmsService.feedbackTaskStatusToWms(req); + body = acstowmsService.feedAgvTaskStatus(map); log.info("任务号:{},反馈wms任务状态完成成功,响应信息:{}!", entity.getTask_code(), body.body()); } catch (Exception e) { log.error("任务号:{},反馈wms任务状态失败,原因:{}!", entity.getTask_code(), e.getMessage());