package com.diaoyun.zion.chinafrica.dao;

import com.diaoyun.zion.chinafrica.entity.TbCfIssueCouponEntity;
import com.diaoyun.zion.chinafrica.entity.TbCfIssueCouponEntityExtends;

import com.diaoyun.zion.chinafrica.entity.TbCfToicouponEntity;
import com.diaoyun.zion.master.dao.BaseDao;

import java.util.List;

/**
 *  优惠券发放保存表Dao
 *
 * @author lipengjun
 * @date 2019-10-24 17:30:10
 */
public interface TbCfIssueCouponDao extends BaseDao<TbCfIssueCouponEntity> {

    List<TbCfIssueCouponEntityExtends> queryCouponByUserId(String userId);


    void changeCoupnStatus(String userId, String couponId);

    int saves(TbCfToicouponEntity toiCouponEntity);
}
