From e50db91077652a5b604bcee844018aff6b14a1b2 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期一, 04 九月 2023 16:22:00 +0800
Subject: [PATCH] 代码提交

---
 Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/StrategyMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/StrategyMapper.xml b/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/StrategyMapper.xml
index 29894ee..50d4a67 100644
--- a/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/StrategyMapper.xml
+++ b/Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/StrategyMapper.xml
@@ -25,10 +25,15 @@
     <!--鏌ヨ鎸囧畾琛屾暟鎹�-->
     <select id="queryAllByPage" resultMap="StrategyMap">
         select pss.*,
-               (SELECT listagg(psc.NAME,',') within GROUP BY(ORDER BY psc.NAME asc)
+               (SELECT listagg(psc.NAME,',') within GROUP(ORDER BY psc.NAME asc)
                 from PL_SYS_COMBINATION psc
                 where instr(pss.COMBINATION_IDS,psc.ID) > 0) COMBINATIONNAMES
         from PL_SYS_PWDSTRATEGY pss
+        <where>
+        <if test="tenantId != null and tenantId != ''">
+            and TENANT_ID = #{tenantId}
+        </if>
+        </where>
     </select>
 
     <!--缁熻鎬昏鏁�-->

--
Gitblit v1.9.3