From adfce6c5a94c7aefa9b5d4f67e63db7eaac268d9 Mon Sep 17 00:00:00 2001
From: DESKTOP-LMJ82IJ\Eno <creaycat@gmail.com>
Date: 星期二, 07 一月 2025 20:29:31 +0800
Subject: [PATCH] #拣货单功能

---
 zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java
index 13d5fcf..ee538ea 100644
--- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java
+++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java
@@ -51,7 +51,7 @@
         List<Loc> locs = new ArrayList<>();
         List<Map<String, Object>> list = viewTaskDetlMapper.getList(mat.getMatnr(), batch, uniqueFields);
         for (Map<String, Object> map : list) {
-            Task task = taskService.getById(map.get("task_id").toString());
+            Task task = taskService.getById(map.get("taskId").toString());
             if (task == null) {
                 continue;
             }
@@ -73,7 +73,7 @@
         List<Loc> locs2 = new ArrayList<>();
         List<Map<String, Object>> list2 = viewLocDetlMapper.getList(mat.getMatnr(), batch, uniqueFields, null);
         for (Map<String, Object> map : list2) {
-            Loc one = locService.getById(map.get("loc_id").toString());
+            Loc one = locService.getById(map.get("locId").toString());
             if (one == null) {
                 continue;
             }

--
Gitblit v1.9.1