From 972d3bc71115ec977dccf835fbcd148da3bcc86c Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期二, 03 九月 2019 16:41:49 +0800 Subject: [PATCH] 统计可用的免单券数量-countUsableFreeCouponForBuy --- fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinOriginService.java | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinOriginService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinOriginService.java index 295c023..bd79bef 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinOriginService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinOriginService.java @@ -4,6 +4,7 @@ import java.util.Date; import java.util.List; +import com.yeshi.fanli.entity.bus.tlj.UserTaoLiJinGiveRecord; import com.yeshi.fanli.entity.bus.tlj.UserTaoLiJinOrigin; import com.yeshi.fanli.entity.bus.tlj.UserTaoLiJinReport; import com.yeshi.fanli.entity.bus.user.UserRank; @@ -131,4 +132,30 @@ public void addInviteWinMoneyByHand(Long uid, String inviteName, Date date) throws UserTaoLiJinOriginException; + + /** + * 閲戝竵鍏戞崲 + * @param uid + * @param money + * @param userRank + * @throws UserTaoLiJinOriginException + */ + public void exchangeMoney(Long uid, BigDecimal money) throws UserTaoLiJinOriginException; + + /** + * 棰嗗彇娣樼ぜ閲�-濂藉弸璧犻�� + * @param uid + * @param money + * @return + * @throws UserTaoLiJinOriginException + */ + public UserTaoLiJinOrigin receiveFriendsGive(Long uid, BigDecimal money) throws UserTaoLiJinOriginException; + + /** + * 绾㈠寘璧犻�侀��鍥� + * @param uid + * @param UserTaoLiJinGiveRecord record + * @throws UserTaoLiJinOriginException + */ + public void giveSendBack(Long uid, UserTaoLiJinGiveRecord record) throws UserTaoLiJinOriginException; } -- Gitblit v1.8.0