From a262dee3a122f081a2d31d86b851ce3df0680d1a Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期四, 15 六月 2023 17:15:25 +0800 Subject: [PATCH] 生日卡管理 --- ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/coupon/CouponService.java | 43 +++++++++++++++++++++++++++++++++++++++---- 1 files changed, 39 insertions(+), 4 deletions(-) diff --git a/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/coupon/CouponService.java b/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/coupon/CouponService.java index 54b026c..54ec5aa 100644 --- a/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/coupon/CouponService.java +++ b/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/coupon/CouponService.java @@ -1,12 +1,10 @@ package com.ruoyi.member.service.coupon; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.ruoyi.member.domain.dto.MgtCouponEditDto; -import com.ruoyi.member.domain.dto.MgtCouponPageDto; +import com.ruoyi.member.domain.dto.*; import com.ruoyi.member.domain.pojo.coupon.Coupon; import com.baomidou.mybatisplus.extension.service.IService; -import com.ruoyi.member.domain.vo.MgtCouponGetVo; -import com.ruoyi.member.domain.vo.MgtCouponPageVo; +import com.ruoyi.member.domain.vo.*; import com.ruoyi.system.api.domain.dto.MgtBaseGetDto; import java.util.List; @@ -67,4 +65,41 @@ * @return void */ void timingSendCoupon(); + + /** + * @description 获取优惠券选择列表 + * @author jqs + * @date 2023/6/15 14:59 + * @param mgtCouponListDto + * @return List<MgtCouponSimpleListVo> + */ + List<MgtCouponSimpleListVo> listMgtCouponSimpleVo(MgtCouponListDto mgtCouponListDto); + + /** + * @description 获取商户优惠券审核列表 + * @author jqs + * @date 2023/6/15 16:20 + * @param page + * @param mgtCouponAuditPageDto + * @return List<MgtCouponAuditPageVo> + */ + List<MgtCouponAuditPageVo> pageMgtAuditCoupon(Page page, MgtCouponAuditPageDto mgtCouponAuditPageDto); + + /** + * @description 获取优惠券审核信息 + * @author jqs + * @date 2023/6/15 16:36 + * @param couponId + * @return MgtCouponAuditGetVo + */ + MgtCouponAuditGetVo getMgtCouponAuditVo(String couponId); + + /** + * @description 审核优惠券 + * @author jqs + * @date 2023/6/15 16:46 + * @param mgtCouponAuditDto + * @return void + */ + void auditMgtCoupon(MgtCouponAuditDto mgtCouponAuditDto); } -- Gitblit v1.7.1