Browse Source

居民排行、大屏热心市民排序统一改为:先按照总积分降序,再按照姓名拼音升序。

dev_shibei_match
yinzuomei 4 years ago
parent
commit
20820b5eb0
  1. 6
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPartyUserRankDataDao.xml

6
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPartyUserRankDataDao.xml

@ -15,7 +15,7 @@
AND all_parent_ids LIKE CONCAT('%',#{agencyId},'%') AND all_parent_ids LIKE CONCAT('%',#{agencyId},'%')
ORDER BY ORDER BY
point_total DESC, point_total DESC,
user_name convert(user_name using gbk) ASC
</select> </select>
@ -129,7 +129,7 @@
and scg.AREA_CODE like CONCAT(#{areaCode},'%') and scg.AREA_CODE like CONCAT(#{areaCode},'%')
ORDER BY ORDER BY
m.POINT_TOTAL DESC, m.POINT_TOTAL DESC,
m.user_name convert(m.user_name using gbk) ASC
</select> </select>
<select id="selectAgencyResiPointListWithoutPartyMem" <select id="selectAgencyResiPointListWithoutPartyMem"
@ -169,7 +169,7 @@
</if> </if>
</if> </if>
ORDER BY ORDER BY
u.point_total DESC u.point_total DESC,convert(u.user_name using gbk) ASC
LIMIT #{topNum} LIMIT #{topNum}
</select> </select>

Loading…
Cancel
Save