Преглед на файлове

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>