From a04222c873e5e55f48c8d33b5c0bc46fa524ac8d Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期四, 08 十月 2026 13:20:39 +0800
Subject: [PATCH] 界面显示号改为来源自报,并给出无歧义的来源定位

---
 battery-business/src/main/resources/mapper/battery/TDetectionCabinetMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/battery-business/src/main/resources/mapper/battery/TDetectionCabinetMapper.xml b/battery-business/src/main/resources/mapper/battery/TDetectionCabinetMapper.xml
index 37a69d6..7914a3e 100644
--- a/battery-business/src/main/resources/mapper/battery/TDetectionCabinetMapper.xml
+++ b/battery-business/src/main/resources/mapper/battery/TDetectionCabinetMapper.xml
@@ -138,6 +138,7 @@
                 when 'RUNNING' then 'RUNNING'
                 else 'UNOBSERVABLE' end,
             update_time = sysdate()
+        <if test="displayNo != null">, display_no = #{displayNo}</if>
         <if test="updateLastSeen">, last_seen_at_utc = #{lastSeenAtUtc}</if>
         where adapter_code = #{adapterCode}
           and devtype = #{devtype} and devid = #{devid}

--
Gitblit v1.7.1