master
jiangyunjie 6 years ago
parent 23f97c9657
commit 1d416c3eb3

@ -10,7 +10,7 @@
t5.NAME AS inviteSellerName,
t4.user_id AS inviteSellerId,
t1.create_time AS addTime,
t2.avatar,
t2.avatar_url as avatar,
t3.level as vipFlag
FROM
op_seller_customer_relation t1,

@ -376,7 +376,7 @@
GROUP BY
storeId
ORDER BY
newCusNum DESC
newCusNum, storeId DESC
) a,
( SELECT @rank := 0 ) b
</select>
@ -397,7 +397,7 @@
</if>
where t1.store_id = #{storeId}
and t1.type = 4
GROUP BY userId ORDER BY newCusNum DESC ) a,
GROUP BY userId ORDER BY newCusNum, userId DESC ) a,
( SELECT @rank := 0 ) b
</select>
<select id="selectLatestUpdateTime" resultType="java.util.Date">

Loading…
Cancel
Save