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>