| | |
| | | */ |
| | | public interface XpAppUserCouponMapper extends BaseMapper<XpAppUserCoupon> { |
| | | |
| | | Page<XpAppUserCouponListVo> userCouponList(@Param("page") Page<XpAppUserCouponListVo> page, @Param("query") XpUserCouponListQuery query, @Param("uid") Long uid); |
| | | Page<XpAppUserCouponListVo> userCouponList(@Param("page") Page<XpAppUserCouponListVo> page, @Param("query") XpUserCouponListQuery query, @Param("phone") String phone); |
| | | |
| | | } |
| | |
| | | else status |
| | | end as `status` |
| | | FROM xp_app_user_coupon |
| | | WHERE app_user_id = #{uid} |
| | | WHERE phone = #{phone} |
| | | ) as t |
| | | where 1=1 |
| | | <if test="query.status != null"> |