package com.example.xiaoshiweixinback.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.example.xiaoshiweixinback.domain.Voucher; import com.example.xiaoshiweixinback.entity.vouchar.VoucherQueryDTO; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; /** * @author admin * @description 针对表【voucher( 优惠券)】的数据库操作Mapper * @createDate 2024-06-18 23:06:58 * @Entity com/example/xiaoshiweixinback.domain.Voucher */ @Repository public interface VoucherMapper extends BaseMapper { public List queryVoucher(@Param("voucherQueryDTO") VoucherQueryDTO voucherQueryDTO); public Long queryVoucherTotal(@Param("voucherQueryDTO") VoucherQueryDTO voucherQueryDTO); }