package com.diaoyun.zion.chinafrica.dao;

import com.diaoyun.zion.chinafrica.entity.TbCfIssueCouponEntity;
import com.diaoyun.zion.chinafrica.entity.TbCfIssueCouponEntityExtends;
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);

    int changeCouponStatus(String userId,String couponId);

}
