44323
2024-04-23 16b704d18a875d1fb63827aaa507790ba2bef5be
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.system.model.Coupon;
import com.stylefeng.guns.modular.system.vo.CouPonQuery;
import com.stylefeng.guns.modular.system.vo.CouponListVO;
import com.stylefeng.guns.modular.system.vo.CouponReceiveVO;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * <p>
 * 优惠券管理 Mapper 接口
 * </p>
 *
 * @author 无关风月
 * @since 2024-02-06
 */
public interface CouponMapper extends BaseMapper<Coupon> {
 
    List<Coupon> couponList(
            @Param("name") String couponName,
            @Param("time") Integer timeType,
            @Param("grant")Integer grantType);
 
    List<CouponReceiveVO> couponReceive(@Param("req") CouPonQuery couPonQuery);
 
 
}