From 3add1f8ab325dff968d5c2b94985700419ea1ccb Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 19 二月 2025 09:46:32 +0800
Subject: [PATCH] 运维监控报表接口统计sql重新编写

---
 ycl-server/src/main/java/com/ycl/api/YS/YSApi.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/api/YS/YSApi.java b/ycl-server/src/main/java/com/ycl/api/YS/YSApi.java
index 6ae2f35..16b1386 100644
--- a/ycl-server/src/main/java/com/ycl/api/YS/YSApi.java
+++ b/ycl-server/src/main/java/com/ycl/api/YS/YSApi.java
@@ -92,7 +92,7 @@
             }
             stOSDInfo.read();
             //鐪佷唤
-            String name = new String(stOSDInfo.stNameOSD.szOSDText, StandardCharsets.UTF_8);
+            String name = new String(stOSDInfo.stNameOSD.szOSDText, StandardCharsets.UTF_8).trim();
             osdResult.setOSD1(name);
 //            log.info("name"+name);
             int num = 0;

--
Gitblit v1.8.0