From 7384fd794b9bcb38cef7853cb55e56e810775678 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 09 八月 2019 14:27:02 +0800 Subject: [PATCH] 动态/品牌商品添加到重要商品更新库,推荐记录列表返回结果跳转任意更改 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/SystemCouponMapper.java | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/SystemCouponMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/SystemCouponMapper.java index 90138a7..9dd86fd 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/SystemCouponMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/SystemCouponMapper.java @@ -1,5 +1,6 @@ package com.yeshi.fanli.dao.mybatis; +import java.math.BigDecimal; import java.util.List; import org.apache.ibatis.annotations.Param; @@ -22,4 +23,19 @@ */ List<SystemCoupon> getCouponListByType(@Param("list")List<String> list); -} \ No newline at end of file + /** + * 鏍规嵁绫诲瀷鏌ヨ + * @param type + * @return + */ + SystemCoupon getCouponByType(@Param("type") String type); + + /** + * 鏍规嵁绫诲瀷/姣斾緥鏌ヨ + * @param type + * @return + */ + SystemCoupon getCouponByTypeAndPercent(@Param("type") String type, @Param("percent") BigDecimal percent); + +} + -- Gitblit v1.8.0