| | |
| | | package com.ruoyi.promotion.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.utils.page.PageDTO; |
| | | import com.ruoyi.promotion.controller.management.dto.MgtCouponDTO; |
| | | import com.ruoyi.promotion.controller.management.dto.MgtCouponQuery; |
| | | import com.ruoyi.promotion.controller.management.dto.MgtCouponReceiveQuery; |
| | | import com.ruoyi.promotion.controller.management.dto.MgtCouponUpdDTO; |
| | | import com.ruoyi.promotion.controller.management.vo.CouponReceiveDetailVO; |
| | | import com.ruoyi.promotion.controller.management.vo.MgtCouponVO; |
| | | import com.ruoyi.promotion.domain.Coupon; |
| | | |
| | | /** |
| | |
| | | */ |
| | | public interface ICouponService extends IService<Coupon> { |
| | | |
| | | /** |
| | | * 获取优惠券列表的分页数据 |
| | | * |
| | | * @param query 管理后台-优惠券查询对象 |
| | | * @return PageDTO<MgtCouponVO> |
| | | */ |
| | | PageDTO<MgtCouponVO> getCouponPage(MgtCouponQuery query); |
| | | |
| | | /** |
| | | * 添加优惠券 |
| | | * |
| | | * @param dto 管理后台-优惠券数据传输对象 |
| | | */ |
| | | void saveCoupon(MgtCouponDTO dto); |
| | | |
| | | /** |
| | | * 编辑优惠券 |
| | | * |
| | | * @param dto 管理后台-优惠券数据传输对象 |
| | | */ |
| | | void updateCoupon(MgtCouponDTO dto); |
| | | |
| | | void updStatus(MgtCouponUpdDTO dto); |
| | | |
| | | /** |
| | | * 领取详情 |
| | | * |
| | | * @param query 管理后台-优惠券领取详情查询对象 |
| | | * @return PageDTO<CouponReceiveDetailVO> |
| | | */ |
| | | PageDTO<CouponReceiveDetailVO> getReceiveDetail(MgtCouponReceiveQuery query); |
| | | } |