@@ -925,6 +925,7 @@
<foreach collection="list" item="item" open="(" close=")" separator=",">
(#{item.shopId}, #{item.prodId})
</foreach>
+ GROUP BY p.prod_id
order by i.count DESC
</select>