From b47f8a03db79bb1f6356479cd8a5cf190d7d9694 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 23 六月 2021 11:10:36 +0800 Subject: [PATCH] 礼金功能完善 --- facade-vip/src/main/java/com/ks/vip/service/VipCenterService.java | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 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 e3002d2..52c298b 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 @@ -1,6 +1,7 @@ package com.ks.vip.service; +import com.ks.vip.exception.VipCenterException; import com.ks.vip.pojo.DO.VipCenter; import com.ks.vip.pojo.DO.VipCombo; import com.ks.vip.pojo.DO.VipGrade; @@ -30,10 +31,20 @@ * * @param uid * @param gradeId - * @param validDays + * @param validHours * @param orderId */ - public void saveVipCenter(String uid, Long gradeId, Integer validDays, Long orderId); + public void saveVipCenter(String uid, Long gradeId, Integer validHours, Long orderId); + + + /** + * 鏍规嵁鏃堕棿闂 + * @param uid + * @param time + * @return + */ + public VipGradePotence getVipPotenceByTime(String uid, Date time); + /** @@ -71,5 +82,10 @@ */ public VIPEnum getVIPEnumByUid(String uid, Date date); - + /** + * 鍚庡彴淇濆瓨浼氬憳淇℃伅 + * @param t + * @throws VipCenterException + */ + public void saveManageWeb(VipCenter t) throws VipCenterException; } -- Gitblit v1.8.0