Commit 1c569b7b by 郑云飞

已售数量只查询本次团购中的

parent 56bc37a0
......@@ -46,8 +46,7 @@
LEFT JOIN order_sub os ON om.id = os.mainid
left join group_order go on om.group_order_id = go.id
WHERE
om.group_order_id IS NOT NULL
and go.group_buy_id = #{id,jdbcType=BIGINT}
go.group_buy_id = #{id,jdbcType=BIGINT} and om.sdef4 = 1
GROUP BY
os.productid
) ms ON gbp.product_id = ms.productid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment