fix(SaOrderMapper): 修复加购为0时,sql报错的问题

This commit is contained in:
woody 2025-08-11 16:11:46 +08:00 committed by cabbage
parent 46f76bd5c5
commit bc4cf1653f
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@
where so.DEL_FLAG = 0
and ver.DEL_FLAG = 0
<if test="addPurchaseFlag != null and addPurchaseFlag == 0">
and oi.pk_order in (
and so.PK_ID in (
select distinct soi.pk_order
from sa_order_items soi
where soi.is_maker_gift = 3