liujie
2023-09-25 d41358fce9a436d81b9341d06fc1d8f3ddff92ff
cloud-server-management/src/main/resources/mapper/TStoreMapper.xml
@@ -88,4 +88,19 @@
    <select id="listTwo" resultType="java.util.Map">
        select id,url,name ,  page,sort from t_store_other_config
    </select>
    <select id="getPage" resultType="com.dsh.guns.modular.system.model.TTurn">
        select * from t_turn
        <where>
            <if test="ids != null and ids.size()>0">
                AND t_turn.pid IN
                <foreach collection="ids" separator="," item="id" open="(" close=")">
                    #{id}
                </foreach>
            </if>
        </where>
    </select>
    <select id="pageList" resultType="com.dsh.guns.modular.system.model.TTurn">
        select * from t_turn where pid = 0
    </select>
</mapper>