From d41358fce9a436d81b9341d06fc1d8f3ddff92ff Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期一, 25 九月 2023 16:17:55 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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