From 753145b81710f934c28b29a1feb376ce79d4a965 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期六, 23 九月 2023 17:52:59 +0800 Subject: [PATCH] 后台代码 --- cloud-server-management/src/main/resources/mapper/TStoreMapper.xml | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml index cbe1ba4..7a8774c 100644 --- a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml +++ b/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> \ No newline at end of file -- Gitblit v1.7.1