fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemCouponService.java
@@ -1,5 +1,6 @@ package com.yeshi.fanli.service.inter.config; import java.math.BigDecimal; import java.util.List; import com.yeshi.fanli.entity.system.SystemCoupon; @@ -33,5 +34,20 @@ * @return */ public List<SystemCoupon> getGoodsCouponList(); /** * 根据类型查询 * @param type * @return */ public SystemCoupon getCouponByType(String type); /** * 根据类型、比例查询 * @param type * @param percent * @return */ public SystemCoupon getCouponByTypeAndPercent(String type, BigDecimal percent); }