dingxin 5 years ago
parent
commit
fd2d6115fe
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/main/resources/mapper/TaPersonIntentionRecordMapper.xml

+ 1
- 0
src/main/resources/mapper/TaPersonIntentionRecordMapper.xml View File

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