对比新文件 |
| | |
| | | package com.mzl.flower.mapper.coupon; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.mzl.flower.dto.request.coupon.QueryCouponRecordDTO; |
| | | import com.mzl.flower.dto.request.coupon.QueryCouponStatisticsBO; |
| | | import com.mzl.flower.dto.request.coupon.QueryMineCouponRecordDTO; |
| | | import com.mzl.flower.dto.response.coupon.CouponRecordVO; |
| | | import com.mzl.flower.entity.coupon.CouponRecordDO; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author @TaoJie |
| | | * @since 2024-08-27 |
| | | */ |
| | | public interface CouponRecordMapperCustom extends BaseMapper<CouponRecordDO> { |
| | | |
| | | List<CouponRecordVO> getPage(Page page, @Param("param") QueryCouponRecordDTO dto); |
| | | |
| | | List<CouponRecordVO> getList(@Param("param") QueryCouponRecordDTO dto); |
| | | |
| | | Integer statisCouponTemplateCount(@Param("param") QueryCouponStatisticsBO queryCouponStatisticsBO); |
| | | |
| | | Integer statisCouponTemplateCurMonCount(@Param("param") QueryCouponStatisticsBO queryCouponStatisticsBO); |
| | | |
| | | Integer statisCouponPointCurMonPointAmonut(@Param("param") QueryCouponStatisticsBO queryCouponStatisticsBO); |
| | | |
| | | List<CouponRecordVO> getMineCouponRecordList(@Param("param") QueryMineCouponRecordDTO dto); |
| | | |
| | | void checkCouponExpired(@Param("param") QueryMineCouponRecordDTO dto); |
| | | } |