소스 검색

1.排序修改

yuanliang 1 년 전
부모
커밋
9f2f971ec4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cooleshow-user/user-biz/src/main/resources/config/mybatis/TenantAlbumPurchaseMapper.xml

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/TenantAlbumPurchaseMapper.xml

@@ -60,7 +60,7 @@
         </where>
         </where>
         <choose>
         <choose>
             <when test="param.orderBy != null and param.orderBy.trim() != ''">
             <when test="param.orderBy != null and param.orderBy.trim() != ''">
-                order by #{param.orderBy}
+                order by ${param.orderBy}
             </when>
             </when>
             <otherwise>
             <otherwise>
                 order by t.id_ desc
                 order by t.id_ desc