From c85aa240db8fa4fd53d774b58ce6a3fc0ddb3580 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 24 五月 2021 17:48:56 +0800
Subject: [PATCH] 会员增加部分接口

---
 facade-vip/src/main/java/com/ks/vip/service/VipCenterService.java |   82 ++++++++++++++++++++++++----------------
 1 files changed, 49 insertions(+), 33 deletions(-)

diff --git a/facade-vip/src/main/java/com/ks/vip/service/VipCenterService.java b/facade-vip/src/main/java/com/ks/vip/service/VipCenterService.java
index fddc2fd..e3002d2 100644
--- a/facade-vip/src/main/java/com/ks/vip/service/VipCenterService.java
+++ b/facade-vip/src/main/java/com/ks/vip/service/VipCenterService.java
@@ -5,55 +5,71 @@
 import com.ks.vip.pojo.DO.VipCombo;
 import com.ks.vip.pojo.DO.VipGrade;
 import com.ks.vip.pojo.DO.VipGradePotence;
+import com.ks.vip.pojo.Enums.VIPEnum;
 
+import java.util.Date;
 import java.util.List;
 
 public interface VipCenterService {
 
-   public long count(VipCenter t);
+    public long count(VipCenter t);
 
-   public List<VipCenter> listByPage(int page, int pageSize, VipCenter t);
+    public List<VipCenter> listByPage(int page, int pageSize, VipCenter t);
 
-   public void insertSelective(VipCenter t);
+    public void insertSelective(VipCenter t);
 
-   public void updateByPrimaryKeySelective(VipCenter t);
+    public void updateByPrimaryKeySelective(VipCenter t);
 
-   public VipCenter getByUid(String id);
+    public VipCenter getByUid(String id);
 
-   public void deteleByUid(String id);
+    public void deteleByUid(String id);
 
 
-   /**
-    * 鑾峰彇浼氬憳绛夌骇
-    * @param uid
-    * @return
-    */
-   public VipGrade getVipGrade(String uid);
+    /**
+     * 娣诲姞浼氬憳鏉冪泭
+     *
+     * @param uid
+     * @param gradeId
+     * @param validDays
+     * @param orderId
+     */
+    public void saveVipCenter(String uid, Long gradeId, Integer validDays, Long orderId);
 
 
+    /**
+     * 鑾峰彇褰撳墠鐢ㄦ埛浼氬憳鏉冪泭
+     *
+     * @param uid
+     * @return
+     */
+    public VipGradePotence getVipPotence(String uid);
 
-   /**
-    * 楠岃瘉浼氬憳鐘舵��
-    * @param uid
-    * @return
-    */
-   public boolean verifyVIP(String uid);
-
-   /**
-    * 娣诲姞浼氬憳鏉冪泭
-    * @param uid
-    * @param gradeId
-    * @param validDays
-    * @param orderId
-    */
-   public void saveVipCenter(String uid, Long gradeId, Integer validDays, Long orderId);
+    /**
+     * 鑾峰彇褰撳墠鐢ㄦ埛浼氬憳绛夌骇淇℃伅
+     *
+     * @param uid
+     * @return
+     */
+    public VipGrade getVipGrade(String uid);
 
 
-   /**
-    * 鑾峰彇浼氬憳鏉冪泭
-    * @param uid
-    * @return
-    */
-   public VipGradePotence getVipPotence(String uid);
+    /**
+     * 鑾峰彇褰撳墠鐢ㄦ埛浼氬憳绛夌骇鏋氫妇
+     *
+     * @param uid
+     * @return
+     */
+    public VIPEnum getVIPEnumByUid(String uid);
+
+
+    /**
+     * 鑾峰彇鐢ㄦ埛鍦ㄦ煇涓椂闂寸偣鐨勭瓑绾�
+     *
+     * @param uid
+     * @param date
+     * @return
+     */
+    public VIPEnum getVIPEnumByUid(String uid, Date date);
+
 
 }

--
Gitblit v1.8.0