diff --git a/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/act/ActCouponRecordMapper.xml b/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/act/ActCouponRecordMapper.xml index 63122b9cf..abbb6c231 100755 --- a/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/act/ActCouponRecordMapper.xml +++ b/pjcloud-wallet/pjcloud-wallet-biz/src/main/resources/mapper/act/ActCouponRecordMapper.xml @@ -38,7 +38,7 @@ and a.status = #{dto.status} - and a.end_time >= now() + and a.end_time >= now() and a.start_time <= now() and a.status IN @@ -80,7 +80,7 @@ select count(0) from act_coupon_record a where a.del_flag = '0' - and a.end_time >= now() + and a.end_time >= now() and a.start_time <= now() and a.user_id = #{userId} and a.status IN