From 53536843f067715404e2da2af9f39babe994b318 Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期二, 22 十月 2024 10:08:09 +0800
Subject: [PATCH] 优化代码 阀控器命令日志接口返回值优化
---
pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/dict/DictSv.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/dict/DictSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/dict/DictSv.java
index f59b604..5a2ecdb 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/dict/DictSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/dict/DictSv.java
@@ -56,9 +56,14 @@
BigDecimal lat = new BigDecimal(baSettingsMapper.getItemValue("lat"));
BigDecimal lng = new BigDecimal(baSettingsMapper.getItemValue("lng"));
+ Integer zoomMp = Integer.parseInt(baSettingsMapper.getItemValue("zoomMp"));
+ Integer zoomPc = Integer.parseInt(baSettingsMapper.getItemValue("zoomPc"));
+
VoMapCenter po = new VoMapCenter();
po.setLat(lat);
po.setLng(lng);
+ po.setZoomMp(zoomMp);
+ po.setZoomPc(zoomPc);
return po;
}
}
--
Gitblit v1.8.0