Helius
2021-01-09 530885dff056bb75bea793a84db6ae486124a24a
zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml
@@ -580,6 +580,7 @@
    <select id="selectStaffSaleAchieveRanking" resultType="com.matrix.system.app.vo.RankingVo">
        select
               b.su_name name,
               b.su_id id,
               b.su_photo photo,
               sum(ZK_TOTAL) amount,
               c.shop_short_name shopName
@@ -605,6 +606,6 @@
            </if>
        </where>
        group by b.su_id
        order by amount desc, a.su_id
        order by amount desc, b.su_id
    </select>
</mapper>