zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml
@@ -479,6 +479,7 @@ <select id="selectApiOrderListInPage" resultType="com.matrix.system.app.vo.OrderDetailVo"> select a.id orderId, a.VIP_ID vipId, a.ORDER_NO orderNo, a.ORDER_TIME orderTime, a.STATU orderStatus, @@ -580,6 +581,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 +607,6 @@ </if> </where> group by b.su_id order by amount desc, a.su_id order by amount desc, b.su_id </select> </mapper>