diff --git a/mallinkService/src/main/resources/mapper/WxCardDailyLogMapper.xml b/mallinkService/src/main/resources/mapper/WxCardDailyLogMapper.xml index abae96997..e92ad1ac5 100644 --- a/mallinkService/src/main/resources/mapper/WxCardDailyLogMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCardDailyLogMapper.xml @@ -37,13 +37,13 @@ and `parent_tenant_id` = #{parentTenantId} - and `card_password_id` = #{cardPasswordId} + and `card_password_id` like concat('%', #{cardPasswordId},'%') - and `coupon_id` = #{couponId} + and `coupon_id` like concat('%', #{couponId},'%') - and `card_info_id` = #{cardInfoId} + and `card_info_id` like concat('%', #{cardInfoId},'%') and `type` = #{type}