临时菜价格

This commit is contained in:
2025-03-04 09:59:44 +08:00
parent 75a0e181cc
commit 3ece479798

View File

@@ -25,10 +25,14 @@
else cart.discount_sale_amount end as discountSaleAmount, else cart.discount_sale_amount end as discountSaleAmount,
case cart.is_gift case cart.is_gift
when 1 then 0 when 1 then 0
else skus.sale_price end as price, else case cart.is_temporary
when 1 then cart.discount_sale_amount
else skus.sale_price end end as price,
case cart.is_gift case cart.is_gift
when 1 then 0 when 1 then 0
else skus.member_price end as memberPrice, else case cart.is_temporary
when 1 then cart.discount_sale_amount
else skus.member_price end end as memberPrice,
'wait-pay' as status, 'wait-pay' as status,
#{placeNum} as placeNum, #{placeNum} as placeNum,
case cart.is_temporary case cart.is_temporary