diff --git a/bd-business/bd-business-member/src/main/resources/mapper/member/statis/CuBonusStatisMapper.xml b/bd-business/bd-business-member/src/main/resources/mapper/member/statis/CuBonusStatisMapper.xml index 879fb426..fd29d333 100644 --- a/bd-business/bd-business-member/src/main/resources/mapper/member/statis/CuBonusStatisMapper.xml +++ b/bd-business/bd-business-member/src/main/resources/mapper/member/statis/CuBonusStatisMapper.xml @@ -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 and so.pk_country = #{pkCountry} @@ -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