ludc
2023-08-31 bd83507f4f7537fc3695a0a1ea07b554bce43e2c
代码提交
已修改2个文件
7 ■■■■ 文件已修改
Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/service/impl/CombinationServiceImpl.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/StrategyMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/service/impl/CombinationServiceImpl.java
@@ -9,6 +9,7 @@
import com.vci.ubcs.system.mapper.CombinationMapper;
import com.vci.ubcs.system.service.ICombinationService;
import org.springblade.core.cache.utils.CacheUtil;
import org.springblade.core.mp.support.Condition;
import org.springblade.core.tool.utils.Func;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;
@@ -55,7 +56,9 @@
     */
    @Override
    public IPage<Combination> selectCombinationPage(Combination combination, IPage<Combination> page) {
        return page.setRecords(combinationMapper.selectCombinationPage(page,combination));
        IPage<Combination> combinationIPage = combinationMapper.selectPage(page, Condition.getQueryWrapper(combination));
        // page.setRecords(combinationMapper.selectCombinationPage(page,combination))
        return combinationIPage;
    }
    /**
Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/StrategyMapper.xml
@@ -25,7 +25,7 @@
    <!--查询指定行数据-->
    <select id="queryAllByPage" resultMap="StrategyMap">
        select pss.*,
               (SELECT listagg(psc.NAME,',') within GROUP(ORDER BY psc.NAME asc)
               (SELECT listagg(psc.NAME,',') within GROUP BY(ORDER BY psc.NAME asc)
                from PL_SYS_COMBINATION psc
                where instr(pss.COMBINATION_IDS,psc.ID) > 0) COMBINATIONNAMES
        from PL_SYS_PWDSTRATEGY pss