From d1f26741bddf6f512d62c0100d42c52be8d37e76 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 06 二月 2021 15:35:40 +0800
Subject: [PATCH] 工具类优化
---
fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemCouponService.java | 112 +++++++++++++++++++++++++++++--------------------------
1 files changed, 59 insertions(+), 53 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemCouponService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemCouponService.java
index 013c06f..4d5f348 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemCouponService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemCouponService.java
@@ -1,53 +1,59 @@
-package com.yeshi.fanli.service.inter.config;
-
-import java.math.BigDecimal;
-import java.util.List;
-
-import com.yeshi.fanli.entity.system.SystemCoupon;
-
-public interface SystemCouponService {
-
- public int insertSelective(SystemCoupon record);
-
- public SystemCoupon selectByPrimaryKey(Long id);
-
- public int updateByPrimaryKeySelective(SystemCoupon record);
-
- public int updateByPrimaryKey(SystemCoupon record);
-
- /**
- * 鏍规嵁涓婚敭鎵归噺鍒犻櫎
- * @param list
- * @return
- */
- public int deleteBatchByPrimaryKey(List<Long> list);
-
- /**
- * 璺熻鍗曚娇鐢ㄧ殑鍒�
- * @return
- */
- public List<SystemCoupon> getOrderCouponList();
-
-
- /**
- * 璺熷晢鍝佷娇鐢ㄧ殑鍒�
- * @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);
-
-}
+package com.yeshi.fanli.service.inter.config;
+
+import java.math.BigDecimal;
+import java.util.List;
+
+import com.yeshi.fanli.entity.system.SystemCoupon;
+
+public interface SystemCouponService {
+
+ public int insertSelective(SystemCoupon record);
+
+ public SystemCoupon selectByPrimaryKey(Long id);
+
+ public int updateByPrimaryKeySelective(SystemCoupon record);
+
+ public int updateByPrimaryKey(SystemCoupon record);
+
+ /**
+ * 鏍规嵁涓婚敭鎵归噺鍒犻櫎
+ * @param list
+ * @return
+ */
+ public int deleteBatchByPrimaryKey(List<Long> list);
+
+ /**
+ * 璺熻鍗曚娇鐢ㄧ殑鍒�
+ * @return
+ */
+ public List<SystemCoupon> getOrderCouponList();
+
+
+ /**
+ * 璺熷晢鍝佷娇鐢ㄧ殑鍒�
+ * @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);
+
+ /**
+ * 璧犻�佸厤鍗曞埜
+ * @return
+ */
+ public List<SystemCoupon> getGiveFreeCouponList();
+
+}
--
Gitblit v1.8.0