From 46ae91d150985e38ecec8768634cc1ee15c5151b Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期四, 07 八月 2025 19:02:06 +0800 Subject: [PATCH] 赛事模块 --- cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupMapper.xml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupMapper.xml b/cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupMapper.xml index 6ad4d7d..cef2aed 100644 --- a/cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupMapper.xml +++ b/cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupMapper.xml @@ -85,7 +85,8 @@ CONCAT(startAge, '至', endAge) as age, gender, maxPeople, - status + status, + type from t_world_cup where 1 = 1 <if test="null != item.name and '' != item.name"> @@ -100,6 +101,9 @@ <if test="null != item.status"> and status= #{item.status} </if> + <if test="null != item.type"> + and type= #{item.type} + </if> order by createTime desc limit #{item.offset}, #{item.limit} </select> -- Gitblit v1.7.1