From a84916eb504db4bb18b9280cc8ab1c059824fb1e Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期一, 09 六月 2025 19:00:09 +0800
Subject: [PATCH] 统计1.2.5

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

diff --git a/src/main/resources/mapper/PowerInfMapper.xml b/src/main/resources/mapper/PowerInfMapper.xml
index cadaa69..7520c9f 100644
--- a/src/main/resources/mapper/PowerInfMapper.xml
+++ b/src/main/resources/mapper/PowerInfMapper.xml
@@ -111,5 +111,15 @@
             order by tb_power_inf.power_id asc
         </where>
     </select>
+    <select id="getGroupName" resultType="java.lang.String">
+        select  distinct ifnull(baoji_group_name,'none') from db_user.tb_baojigroup,db_user.tb_baojigroup_power
+        <where>
+            tb_baojigroup.baoji_group_id=tb_baojigroup_power.baoji_group_id
+            and tb_baojigroup.team_flag=1
+            <if test="powerId!=null">
+                and power_id=#{powerId}
+            </if>
+        </where>
+    </select>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1