package com.xxfc.platform.activity.mapper;

import com.xxfc.platform.activity.entity.UserCoupon;
import com.xxfc.platform.activity.vo.UserCouponVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 我的优惠卷
 * 
 * @author libin
 * @email 18178966185@163.com
 * @date 2019-06-21 14:34:49
 */
public interface UserCouponMapper extends Mapper<UserCoupon> {

    //我的优惠卷
    public List<UserCouponVo> getUserCouponsByType(@Param("userId")Integer userId,@Param("type")int type,@Param("time")Long time);

   //单个优惠卷
    public UserCouponVo getUserCoupon(@Param("tickerNo")String tickerNo);
	
}