Skip to content

Commit cf67f09

Browse files
committed
orderBy
1 parent e181ffa commit cf67f09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/resources/mybatis/modules/mappers/sys/UserMapper.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<include refid="searchField" />
8080

8181
<choose>
82-
<when test="bean !=null and bean.orderBy != null and bean.orderBy != ''">
82+
<when test="orderBy != null and orderBy != ''">
8383
ORDER BY ${orderBy}
8484
</when>
8585
<otherwise>

0 commit comments

Comments
 (0)