优惠劵模板相关逻辑的迁移

This commit is contained in:
YunaiV
2020-08-22 13:49:38 +08:00
parent cb0c7744ac
commit 6fd899bca2
9 changed files with 93 additions and 84 deletions

View File

@@ -1,7 +1,12 @@
package cn.iocoder.mall.managementweb.convert.promotion.coupon;
import cn.iocoder.common.framework.vo.PageResult;
import cn.iocoder.mall.managementweb.controller.promotion.coupon.vo.template.CouponTemplateCardUpdateReqVO;
import cn.iocoder.mall.managementweb.controller.promotion.coupon.vo.template.CouponTemplatePageReqVO;
import cn.iocoder.mall.managementweb.controller.promotion.coupon.vo.template.CouponTemplateRespVO;
import cn.iocoder.mall.promotion.api.rpc.coupon.dto.template.CouponCardTemplateUpdateReqDTO;
import cn.iocoder.mall.promotion.api.rpc.coupon.dto.template.CouponTemplatePageReqDTO;
import cn.iocoder.mall.promotion.api.rpc.coupon.dto.template.CouponTemplateRespDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
@@ -12,4 +17,8 @@ public interface CouponTemplateConvert {
CouponCardTemplateUpdateReqDTO convert(CouponTemplateCardUpdateReqVO bean);
CouponTemplatePageReqDTO convert(CouponTemplatePageReqVO bean);
PageResult<CouponTemplateRespVO> convertPage(PageResult<CouponTemplateRespDTO> page);
}