<select >
ORDER BY ${page.orderBy}
</when>
<otherwise>
ORDER BY a.status DESC,a.update_time DESC,a.create_time DESC
</otherwise>
</choose>
</select>

 

切记:<if>标签语句一定要用and

相关文章:

  • 2021-10-01
  • 2022-12-23
  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
  • 2021-08-13
猜你喜欢
  • 2022-02-28
  • 2022-12-23
  • 2021-08-23
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2021-05-10
相关资源
相似解决方案