| | |
| | | status, |
| | | lon, |
| | | lat, |
| | | type, |
| | | CASE status WHEN 1 THEN 2 WHEN 2 THEN 1 ELSE status END as sort |
| | | from t_world_cup where status != 3 |
| | | <if test="null != item.content and '' != item.content"> |
| | |
| | | a.paiCoin, |
| | | a.classHour, |
| | | a.intro, |
| | | a.content |
| | | a.content, |
| | | a.contentOne |
| | | from t_world_cup a |
| | | where a.id = #{id} |
| | | </select> |
| | |
| | | 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"> |
| | |
| | | <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> |
| | | |