调整排序
This commit is contained in:
parent
5be3ae55c7
commit
6cdf895ea6
|
|
@ -108,7 +108,7 @@ public interface NewsMapper {
|
||||||
"and news.id > #{last}" +
|
"and news.id > #{last}" +
|
||||||
"</if>" +
|
"</if>" +
|
||||||
"</where>" +
|
"</where>" +
|
||||||
"order by concat('`', #{orderBy}, '`') " +
|
"order by concat('`', ${orderBy}, '`') " +
|
||||||
"<if test=\"'desc'.equals(direction)\">" +
|
"<if test=\"'desc'.equals(direction)\">" +
|
||||||
"desc" +
|
"desc" +
|
||||||
"</if>" +
|
"</if>" +
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue