ludc
2023-09-04 e50db91077652a5b604bcee844018aff6b14a1b2
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>
    <!--统计总行数-->