Commit 8052c0a5 authored by wuwz's avatar wuwz

热门游sql查询

parent 0c22774d
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<if test="params.tagId != null and params.tagId != '' "> <if test="params.tagId != null and params.tagId != '' ">
and t.id in (SELECT tg.good_id from tour_good_tag tg and t.id in (SELECT tg.good_id from tour_good_tag tg
where tg.tag_id = #{params.tagId}) and t.recommend = 1 where tg.tag_id = #{params.tagId}) and t.recommend = 1
ORDER BY t.recommend
</if> </if>
order by t.rank DESC order by t.rank DESC
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment