@@ -73,7 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getDownLevelPoints" resultType="com.miaxis.extension.vo.ExtensionIncomeVo">
select id,openid,IFNULL(nick_name,'未知') as nick_name,IFNULL(head_image,'未知') as head_image,achievement,achievement_settled,
(select count(1) from wx_spread_relation where parent_openid =t1.openid) as extension_count from user_info t1
- where openid in (select openid from wx_spread_relation where parent_openid = #{openid})
+ where openid in (select openid from wx_spread_relation where parent_openid = #{openid}) order by achievement desc
</select>
<select id="getPcDownLevelPoints" resultType="com.miaxis.extension.vo.ExtensionIncomeVo">