소스 검색

gzh account datastat sort

wangyunpeng 2 주 전
부모
커밋
c6b07d7d47
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api-module/src/main/resources/mapper/contentplatform/ext/ContentPlatformDataStatMapperExt.xml

+ 1 - 1
api-module/src/main/resources/mapper/contentplatform/ext/ContentPlatformDataStatMapperExt.xml

@@ -21,7 +21,7 @@
         <if test="param.accountId!= null and param.accountId!= ''">
             and cpgza.id = #{param.accountId}
         </if>
-        order by cpgd.date_str desc
+        order by cpgd.date_str desc, cpgd.account_id
         limit #{offset}, #{pageSize}
     </select>