## bug460 直推数据查询功能加上188会员

This commit is contained in:
zhangheng 2025-11-03 09:24:03 +08:00
parent 9f331d3272
commit 8480603483
1 changed files with 3 additions and 1 deletions

View File

@ -879,7 +879,9 @@
and so.ORDER_STATUS=1
and so.PK_COUNTRY=#{pkCountry}
where cmm.DEL_FLAG=0
and so.ORDER_TYPE in (1,2,24,25)
and
((so.ORDER_TYPE = 3 AND so.ORDER_TYPE_EXTEND = 1)
or so.ORDER_TYPE in (1,2,24,25))
and cmm.PK_PARENT=#{pkMember}
and cmm.PK_SETTLE_COUNTRY=#{pkCountry}
and cmm.CATEGORY=0