From a42ae1ffc20459dc46a88590bc4a94f9280f2d3d Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期五, 10 五月 2024 15:31:28 +0800
Subject: [PATCH] #

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/MainServiceImpl.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/MainServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/MainServiceImpl.java
index 741bed4..56a8231 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/MainServiceImpl.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/service/impl/MainServiceImpl.java
@@ -83,7 +83,7 @@
     public synchronized void initRealtimeBasMap() {
         try {
             List<Dict> dicts = dictService.list(new LambdaQueryWrapper<Dict>()
-                    .like(Dict::getFlag, "map")
+                    .like(Dict::getFlag, "map-")
                     .eq(Dict::getStatus, 1));
 
             TreeMap<Integer, ArrayList<ArrayList<MapNode>>> levData = new TreeMap<>();
@@ -122,6 +122,8 @@
                         mapNode.setRow(object.getInteger("row"));
                         mapNode.setBay(object.getInteger("bay"));
                         mapNode.setNo(object.getString("row") + "-" + object.getString("bay"));
+                        mapNode.setXBase(object.getInteger("refx"));
+                        mapNode.setYBase(object.getInteger("refy"));
                         nodes.add(mapNode);
                     }
 
@@ -150,6 +152,8 @@
                 mapNode.setRow(0);
                 mapNode.setBay(0);
                 mapNode.setNo("0-0");
+                mapNode.setXBase(0);
+                mapNode.setYBase(0);
 
                 //鑾峰彇鏈�闀縭ow
                 int row = 0;

--
Gitblit v1.9.1