PromotionCouponTemplateMapper.java 1.0 KB

1234567891011121314151617181920212223242526272829
  1. package com.zsElectric.boot.business.mapper;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.zsElectric.boot.business.model.entity.PromotionCouponTemplate;
  4. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  5. import com.zsElectric.boot.business.model.query.PromotionCouponTemplateQuery;
  6. import com.zsElectric.boot.business.model.vo.PromotionCouponTemplateVO;
  7. import org.apache.ibatis.annotations.Mapper;
  8. import org.apache.ibatis.annotations.Param;
  9. /**
  10. * 优惠劵模板Mapper接口
  11. *
  12. * @author zsElectric
  13. * @since 2025-12-12 15:11
  14. */
  15. @Mapper
  16. public interface PromotionCouponTemplateMapper extends BaseMapper<PromotionCouponTemplate> {
  17. /**
  18. * 获取优惠劵模板分页数据
  19. *
  20. * @param page 分页对象
  21. * @param queryParams 查询参数
  22. * @return {@link Page<PromotionCouponTemplateVO>} 优惠劵模板分页列表
  23. */
  24. Page<PromotionCouponTemplateVO> getPromotionCouponTemplatePage(Page<PromotionCouponTemplateVO> page,@Param("queryParams") PromotionCouponTemplateQuery queryParams);
  25. }