From a7d5e6c4a45ca1f7bb1560ef4e76f4c1680c41db Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期六, 18 五月 2024 10:43:29 +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