置顶排序完善

master
rong.liu 2 years ago
parent 56e5644480
commit 22cc03c9cd
  1. 6
      src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml

@ -61,11 +61,13 @@
</when>
<when test="req.topSort ==0">
ORDER BY is_top asc
ORDER BY is_top asc,
top_time asc
</when>
<when test="req.topSort ==1">
ORDER BY is_top desc
ORDER BY is_top desc,
top_time DESC
</when>
<otherwise>

Loading…
Cancel
Save