## 复购拨比计算时,不加处重消;
This commit is contained in:
parent
80aa982911
commit
96ff984185
|
@ -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 ">
|
||||
|
|
Loading…
Reference in New Issue