Commit 45103940 authored by tangtuo's avatar tangtuo

修改bug

parent c728e009
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
select * from tb_nft select * from tb_nft
where status = 1 where status = 1
<if test="categoryId != null and categoryId > 0"> <if test="categoryId != null and categoryId > 0">
category_id=#{categoryId} and category_id=#{categoryId}
</if> </if>
order by is_top , update_date desc order by is_top desc , update_date desc
limit #{pageNum},#{pageSize} limit #{pageNum},#{pageSize}
</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