dingxin 5 年 前
コミット
fd2d6115fe
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1
    0
      src/main/resources/mapper/TaPersonIntentionRecordMapper.xml

+ 1
- 0
src/main/resources/mapper/TaPersonIntentionRecordMapper.xml ファイルの表示

@@ -34,5 +34,6 @@
34 34
             </trim>
35 35
         GROUP BY
36 36
             tpir.person_id, tpir.building_id
37
+        ORDER BY SUM(tpir.intention) DESC
37 38
     </select>
38 39
 </mapper>