From 6d99081f3f6e0363b0bd28053e545a8e4589b979 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期五, 09 一月 2026 08:50:11 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/controller/BasMapController.java | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/BasMapController.java b/src/main/java/com/zy/asrs/controller/BasMapController.java
index fbfd4db..4a2a97e 100644
--- a/src/main/java/com/zy/asrs/controller/BasMapController.java
+++ b/src/main/java/com/zy/asrs/controller/BasMapController.java
@@ -218,8 +218,21 @@
Integer isBarcodeStation = value.getInteger("isBarcodeStation");
if (isBarcodeStation != null && isBarcodeStation == 1) {
+ StationObjModel barcodeStationModel = new StationObjModel();
+ barcodeStationModel.setDeviceNo(deviceNo);
+ barcodeStationModel.setStationId(value.getInteger("stationId"));
+ barcodeStationModel.setBarcodeIdx(value.getInteger("barcodeIdx"));
+
+ if (value.getInteger("backStation") != null) {
+ StationObjModel backStation = new StationObjModel();
+ barcodeStationModel.setBackStation(backStation);
+
+ backStation.setDeviceNo(value.getInteger("backStationDeviceNo"));
+ backStation.setStationId(value.getInteger("backStation"));
+ }
+
List<StationObjModel> barcodeStationList = barcodeStationMap.getOrDefault(deviceNo, new ArrayList<>());
- barcodeStationList.add(stationObjModel);
+ barcodeStationList.add(barcodeStationModel);
barcodeStationMap.put(deviceNo, barcodeStationList);
}
--
Gitblit v1.9.1