From 49b93cbbbadb7fc951c71532b02d22100dbc9b11 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 07 五月 2025 14:58:42 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoAllIntake.java | 8 +++++++-
pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml | 1 +
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoAllIntake.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoAllIntake.java
index 7d09b66..adea005 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoAllIntake.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoAllIntake.java
@@ -15,7 +15,7 @@
* @Description
*/
@Data
-@JsonPropertyOrder({ "id", "countyId", "townId", "villageId", "divideId", "blockId", "name", "lng", "lat", "remarks", "operator", "operateDt", "blockName", "address", "rtuAddr", "protocol"})
+@JsonPropertyOrder({ "id", "countyId", "townId", "villageId", "divideId", "blockId", "name", "lng", "lat", "remarks", "operator", "operateDt", "blockName", "address", "controllerId", "rtuAddr", "protocol"})
public class VoAllIntake implements BaseEntity {
private static final long serialVersionUID = 202412161003001L;
@@ -97,6 +97,12 @@
private String address;
/**
+ * 闃�鎺у櫒ID
+ */
+ @JSONField(serializeUsing = ObjectWriterImplToString.class)
+ private Long controllerId;
+
+ /**
* RTU鍦板潃
*/
private String rtuAddr;
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml
index 968d7d7..885c6b7 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrIntakeMapper.xml
@@ -51,6 +51,7 @@
ge.operateDt,
blo.`name` AS blockName,
CONCAT(country.`name`, town.`name`, village.`name`) AS address,
+ con.id AS controllerId,
con.rtuAddr,
con.protocol
FROM pr_intake ge
--
Gitblit v1.8.0