liujie
4 天以前 46ae91d150985e38ecec8768634cc1ee15c5151b
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>