package com.fuint.repository.mapper;

import com.fuint.repository.model.MtCoupon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 卡券信息表 Mapper 接口
 *
 * Created by FSQ
 * CopyRight https://www.fuint.cn
 */
public interface MtCouponMapper extends BaseMapper<MtCoupon> {

    Long queryNumByGroupId(@Param("groupId") Long groupId);

    List<MtCoupon> queryByGroupId(@Param("groupId") Long groupId);

}
