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