From 32afdc40d71b62ed0a2e0693cd56564816b188e5 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 26 十二月 2024 17:30:57 +0800
Subject: [PATCH] #添加HOST权限,如果授权为空,默认1

---
 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