姜永辉 1 год назад
Родитель
Сommit
97f922ef3f
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/main/java/com/dk/oauth/mapper/integral/IntegralItemMapper.xml

+ 1 - 0
src/main/java/com/dk/oauth/mapper/integral/IntegralItemMapper.xml

@@ -113,6 +113,7 @@
         left join dkic_a.t_a_company tac on tac.cp_id = tmii.cp_id
         left join dkic_a.t_a_company tac on tac.cp_id = tmii.cp_id
         left join dkic_a.t_a_company tacf on tacf.cp_id = tmii.cp_id
         left join dkic_a.t_a_company tacf on tacf.cp_id = tmii.cp_id
         <include refid="Condition"/>
         <include refid="Condition"/>
+        order by tmii.acc_date desc
         <if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
         <if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
             limit #{end} offset #{start}
             limit #{end} offset #{start}
         </if>
         </if>