From 6ace06809f14553e2c4c48c15630b8cdb5672e5a Mon Sep 17 00:00:00 2001 From: songxiaopeng <1393756821@qq.com> Date: Fri, 26 Apr 2024 17:56:23 +0800 Subject: [PATCH] =?UTF-8?q?update:=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA;=E4=BF=AE=E6=94=B9=E9=80=81=E6=96=99?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../acs/service/impl/AcsToWmsServiceImpl.java | 1 + .../src/main/java/org/nl/wms/ext/wql/ext.xls | Bin 53760 -> 54272 bytes .../java/org/nl/wms/sch/tasks/SendTask.java | 12 +++++++----- lms/qd/src/router/routers.js | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lms/hd/nladmin-system/src/main/java/org/nl/wms/ext/acs/service/impl/AcsToWmsServiceImpl.java b/lms/hd/nladmin-system/src/main/java/org/nl/wms/ext/acs/service/impl/AcsToWmsServiceImpl.java index 794822c..6291f9c 100644 --- a/lms/hd/nladmin-system/src/main/java/org/nl/wms/ext/acs/service/impl/AcsToWmsServiceImpl.java +++ b/lms/hd/nladmin-system/src/main/java/org/nl/wms/ext/acs/service/impl/AcsToWmsServiceImpl.java @@ -422,6 +422,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { @Override public JSONObject receiveOrder(JSONObject json) { + log.info("receiveOrder出库单参数:-------------------------------------"+json); String reqCode = json.getString("reqCode"); String deliveryNo = json.getString("deliveryno"); String deliveryLineNo = json.getString("deliverylineno"); diff --git a/lms/hd/nladmin-system/src/main/java/org/nl/wms/ext/wql/ext.xls b/lms/hd/nladmin-system/src/main/java/org/nl/wms/ext/wql/ext.xls index 4cfd4f814af8717b5a23204189d3b92bd7efa54e..2f53446d1fcba3c8a0eb197c1214a40a4f0616df 100644 GIT binary patch delta 4997 zcmcgwdvH|c6+hqIyLaz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B diff --git a/lms/hd/nladmin-system/src/main/java/org/nl/wms/sch/tasks/SendTask.java b/lms/hd/nladmin-system/src/main/java/org/nl/wms/sch/tasks/SendTask.java index 38cac16..77666a1 100644 --- a/lms/hd/nladmin-system/src/main/java/org/nl/wms/sch/tasks/SendTask.java +++ b/lms/hd/nladmin-system/src/main/java/org/nl/wms/sch/tasks/SendTask.java @@ -11,8 +11,10 @@ import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.nl.exception.BadRequestException; +import org.nl.modules.system.service.impl.ParamServiceImpl; import org.nl.modules.system.util.CodeUtil; import org.nl.utils.SecurityUtils; +import org.nl.utils.SpringContextHolder; import org.nl.wms.sch.manage.AbstractAcsTask; import org.nl.wms.sch.manage.TaskStatusEnum; import org.nl.wql.WQL; @@ -186,13 +188,13 @@ public class SendTask extends AbstractAcsTask { param.put("whseId","WMWHSE12"); param.put("lkCode","lk_code"); param.put("itemRows",array); - String api =""; + String api = SpringContextHolder.getBean(ParamServiceImpl.class).findByCode("feedback_url").getValue(); try { String resultMsg = HttpRequest.post(api) .body(String.valueOf(param)) .execute().body(); JSONObject result = JSONObject.parseObject(resultMsg); - log.info("上游系统反馈结果----------------+" + api + ",---" + result.toString()); + log.info("反馈出库结果----------------+" + api + ",---" + result.toString()); } catch (Exception e) { String msg = e.getMessage(); System.out.println(msg); @@ -279,7 +281,7 @@ public class SendTask extends AbstractAcsTask { if (!"00".equals(nextPoint.getString("point_status"))) { throw new BadRequestException("终点有货"); } - String taskTd = createTaskRelated( + String taskId = createTaskRelated( startPoint, nextPoint, param, @@ -289,10 +291,10 @@ public class SendTask extends AbstractAcsTask { "2"); WQLObject noteTaskTab = WQLObject.getWQLObject("ext_delivery_note_task"); Map data = new HashMap<>(); - data.put("task_id",taskTd); + data.put("task_id",taskId); data.put("note_id",noteId); noteTaskTab.insert(data); - return taskTd; + return taskId; } // 查询点位的送料区域 diff --git a/lms/qd/src/router/routers.js b/lms/qd/src/router/routers.js index 013eaa5..c3f22f2 100644 --- a/lms/qd/src/router/routers.js +++ b/lms/qd/src/router/routers.js @@ -45,7 +45,7 @@ export const constantRouterMap = [ children: [ { path: 'dashboard', - component: (resolve) => require(['@/views/home'], resolve), + component: (resolve) => require(['@/views/monitor/server/index'], resolve), name: 'Dashboard', meta: { title: '首页', icon: 'index', affix: true, noCache: true } }