## 复购拨比计算时,不加处重消;

This commit is contained in:
cabbage 2025-05-29 16:27:30 +08:00
parent 1383938253
commit 2754b2208e
1 changed files with 2 additions and 2 deletions

View File

@ -578,7 +578,7 @@
so.MODIFIED_TIME modifiedTime
from sa_order so
inner JOIN CU_MEMBER cm on so.PK_MEMBER = cm.pk_id
where so.ORDER_TYPE in (1, 2, 3, 10, 13, 20, 24, 25, 26) and cm.DEL_FLAG = 0
where so.ORDER_TYPE in (1, 2, 3, 13, 20, 24, 25, 26) and cm.DEL_FLAG = 0
<if test="pkCountry != null">
and so.pk_country = #{pkCountry}
</if>
@ -623,7 +623,7 @@
(a.BACK_RATIO + a.PLATFORM_RATIO) / 100 backRatio
from BD_BONUS_ITEMS b
left JOIN BD_BONUS_DEDUCT a on a.PK_BONUS_ITEMS=b.PK_ID
where b.DEL_FLAG =0
where b.DEL_FLAG = 0
and a.BACK_RATIO > 0
and a.PLATFORM_RATIO > 0
<if test="pkCountry != null ">