From 7a4a03e2c1455ba7a7c6fa60702e350faf6e25bb Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期一, 26 五月 2025 14:13:42 +0800
Subject: [PATCH] 管路&气柜产能负载按日统计查不到数据时不返回空

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml
index 0cee419..1f974aa 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml
@@ -451,5 +451,15 @@
             </if>
         </where>
     </select>
+    
+    <!-- 鏌ヨ鎵�鏈夊幓閲嶇殑宸ュ簭鍚嶇О -->
+    <select id="selectDistinctProcessNames" resultType="java.lang.String">
+        SELECT DISTINCT process_name FROM aps_gas_piping_route_stat WHERE process_name IS NOT NULL AND process_name != ''
+    </select>
+    
+    <!-- 鏌ヨ鎵�鏈夊幓閲嶇殑杞﹂棿 -->
+    <select id="selectDistinctWorkshops" resultType="java.lang.String">
+        SELECT DISTINCT workshop FROM aps_gas_piping_route_stat WHERE workshop IS NOT NULL AND workshop != ''
+    </select>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3