dingxin il y a 5 ans
Parent
révision
fd2d6115fe
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      src/main/resources/mapper/TaPersonIntentionRecordMapper.xml

+ 1
- 0
src/main/resources/mapper/TaPersonIntentionRecordMapper.xml Voir le fichier

@@ -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>