|
|
@@ -926,7 +926,7 @@ func GetNotInvovedAmount(promotionId int64, orderId string) int64 {
|
|
|
FROM
|
|
|
products_promotions AS op
|
|
|
LEFT JOIN
|
|
|
- order_details AS od ON od.product_id = op.product_id AND od.order_no =?
|
|
|
+ order_details AS od ON od.product_id = op.product_id AND od.order_no =? AND od.is_zeng = 0
|
|
|
WHERE
|
|
|
op.promotion_id = ?
|
|
|
AND IF(od.nums IS NULL, 0, od.nums) > 0;
|