修改排序sql
This commit is contained in:
@@ -53,6 +53,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</where>
|
||||
order by
|
||||
<choose>
|
||||
<when test="'name' == pageQuery.orderByColumn">
|
||||
CONVERT(tgbd.${pageQuery.orderByColumn} USING gbk) ${pageQuery.isAsc}
|
||||
</when>
|
||||
<when test="null != pageQuery.isAsc and pageQuery.isAsc.length() > 0">
|
||||
tgbd.${pageQuery.orderByColumn} ${pageQuery.isAsc}
|
||||
</when>
|
||||
|
||||
Reference in New Issue
Block a user