package com.platform.dao;

import com.platform.entity.UserCouponEntity;
import org.apache.ibatis.annotations.Param;

/**
 * Dao
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-19 15:40:33
 */
public interface UserCouponDao extends BaseDao<UserCouponEntity> {

    public int cancelUserCoupon(@Param("userId") Long userId , @Param("couponId") Integer couponId);

    public int  updateAllStatusByCouponId(@Param("couponId") Integer couponId ,
                                          @Param("status") Integer status,
                                          @Param("size") Integer size);
}
