From 5e7b0ed4a154ad067cbcf4aa1a1c7cce32f9864c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 26 四月 2024 18:02:17 +0800 Subject: [PATCH] 唯品会链接解析升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackWinInviteService.java | 316 ++++++++++++++++++++++++++-------------------------- 1 files changed, 158 insertions(+), 158 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackWinInviteService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackWinInviteService.java index 78b7b6b..41166c1 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackWinInviteService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackWinInviteService.java @@ -1,158 +1,158 @@ -package com.yeshi.fanli.service.inter.redpack; - -import java.math.BigDecimal; -import java.util.Date; -import java.util.List; - -import com.yeshi.fanli.entity.redpack.RedPackWinInvite; -import com.yeshi.fanli.vo.redpack.RedPackWinProgressVO; - -public interface RedPackWinInviteService { - - /** - * 閭�璇疯鍗曞埌璐�-鐩稿叧濂栧姳 - * @param uid - * @param inviteeUid - * @param source - * @param orderNo - */ - public void inviteOrderArriveReward(Long uid, Integer source, String orderNo) throws Exception; - - /** - * 鏌ヨ鑾峰緱璁板綍 - * @param start - * @param count - * @param uid - * @return - */ - public List<RedPackWinInvite> getRewardList(int start, int count, Long uid); - - /** - * 缁熻鏉℃暟 - * @param uid - * @return - */ - public Long countRewardRecord(Long uid); - - /** - * 閭�璇锋垚鍔熷鍔� - * @param uid - * @throws Exception - */ - public void inviteSucceedReward(Long uid) throws Exception; - - /** - * 缁熻鎬婚鍙栭噾棰� - * @param uid - * @return - */ - public BigDecimal getRewardMoney(Long uid); - - - /** - * 閭�璇疯繘搴� + 濂栧姳 - * @param uid - * @return - */ - public List<RedPackWinProgressVO> getInviteProgressByWorkerId(Long uid, Long tid); - - - /** - * 濂栭噾鎺掕-闃熷憳 - * @param uid - * @return - */ - public List<RedPackWinInvite> getWinTopListByBossId(int page, int count, Long uid); - - public long countWinTopListByBossId(Long uid); - - /** - * 鍒濆鍖栫孩鍖呬竴闃舵 - * @param bossId - * @param teamUid - */ - public void initCreateRedPackWin(Long bossId, Long teamUid); - - /** - * 绗嚑涓椿鍔ㄥソ鍙� - * @param uid - * @param teamUid - * @return - */ - public long countTeamNumByTid(Long uid, Long teamUid); - - /** - * 鏌ヨ閭�璇风孩鍖呮槑缁� - * @param page - * @param count - * @param key - * @param status - * @return - */ - public List<RedPackWinInvite> query(long page, int count, String key, String type); - - public long count(String key, String type); - - - /** - * 鍒涘缓 - * @param orderUid - * @param orderNo - * @param source - */ - public void winRedPackByOrder(Long orderUid, String orderNo, Integer source, Date downTime); - - /** - * 鏌ヨ涓婃湀鐢ㄦ埛id - * @param start - * @param count - * @return - */ - - public List<Long> listWinUid(int start, int count); - - /** - * 鏌ヨ涓婃湀鏁版嵁 - * @param start - * @param count - * @return - */ - - public long countLastMonthByUid(Long uid); - - /** - * 鏌ヨ涓婃湀鏁版嵁 - * @param start - * @param count - * @return - */ - public List<RedPackWinInvite> listLastMonthByUid(int start, int count, Long uid); - - /** - * 绾㈠寘鍒拌处 - * @param uid - * @param money - * @param date - */ - public void arriveMoney(Long uid, BigDecimal money, Date date) throws Exception; - - /** - * 娲诲姩鍏嶅崟鍒� - * @param orderUid - * @param orderNo - * @param source - * @param downTime - */ - public void winFreeCoupon(Long orderUid, String orderNo, Integer source, Date downTime); - - /** - * 楠岃瘉鏄惁婊¤冻寤惰繜娑堟伅 - * @param orderUid - * @param orderNo - * @param source - * @param downTime - * @return - */ - public boolean verifyOrder(Long orderUid, String orderNo, Integer source, Date downTime); - -} +package com.yeshi.fanli.service.inter.redpack; + +import java.math.BigDecimal; +import java.util.Date; +import java.util.List; + +import com.yeshi.fanli.entity.redpack.RedPackWinInvite; +import com.yeshi.fanli.vo.redpack.RedPackWinProgressVO; + +public interface RedPackWinInviteService { + + /** + * 閭�璇疯鍗曞埌璐�-鐩稿叧濂栧姳 + * @param uid + * @param inviteeUid + * @param source + * @param orderNo + */ + public void inviteOrderArriveReward(Long uid, Integer source, String orderNo) throws Exception; + + /** + * 鏌ヨ鑾峰緱璁板綍 + * @param start + * @param count + * @param uid + * @return + */ + public List<RedPackWinInvite> getRewardList(int start, int count, Long uid); + + /** + * 缁熻鏉℃暟 + * @param uid + * @return + */ + public Long countRewardRecord(Long uid); + + /** + * 閭�璇锋垚鍔熷鍔� + * @param uid + * @throws Exception + */ + public void inviteSucceedReward(Long uid) throws Exception; + + /** + * 缁熻鎬婚鍙栭噾棰� + * @param uid + * @return + */ + public BigDecimal getRewardMoney(Long uid); + + + /** + * 閭�璇疯繘搴� + 濂栧姳 + * @param uid + * @return + */ + public List<RedPackWinProgressVO> getInviteProgressByWorkerId(Long uid, Long tid); + + + /** + * 濂栭噾鎺掕-闃熷憳 + * @param uid + * @return + */ + public List<RedPackWinInvite> getWinTopListByBossId(int page, int count, Long uid); + + public long countWinTopListByBossId(Long uid); + + /** + * 鍒濆鍖栫孩鍖呬竴闃舵 + * @param bossId + * @param teamUid + */ + public void initCreateRedPackWin(Long bossId, Long teamUid); + + /** + * 绗嚑涓椿鍔ㄥソ鍙� + * @param uid + * @param teamUid + * @return + */ + public long countTeamNumByTid(Long uid, Long teamUid); + + /** + * 鏌ヨ閭�璇风孩鍖呮槑缁� + * @param page + * @param count + * @param key + * @param status + * @return + */ + public List<RedPackWinInvite> query(long page, int count, String key, String type); + + public long count(String key, String type); + + + /** + * 鍒涘缓 + * @param orderUid + * @param orderNo + * @param source + */ + public void winRedPackByOrder(Long orderUid, String orderNo, Integer source); + + /** + * 鏌ヨ涓婃湀鐢ㄦ埛id + * @param start + * @param count + * @return + */ + + public List<Long> listWinUid(int start, int count); + + /** + * 鏌ヨ涓婃湀鏁版嵁 + * @param start + * @param count + * @return + */ + + public long countLastMonthByUid(Long uid); + + /** + * 鏌ヨ涓婃湀鏁版嵁 + * @param start + * @param count + * @return + */ + public List<RedPackWinInvite> listLastMonthByUid(int start, int count, Long uid); + + /** + * 绾㈠寘鍒拌处 + * @param uid + * @param money + * @param date + */ + public void arriveMoney(Long uid, BigDecimal money, Date date) throws Exception; + + /** + * 娲诲姩鍏嶅崟鍒� + * @param orderUid + * @param orderNo + * @param source + * @param downTime + */ + public void winFreeCoupon(Long orderUid, String orderNo, Integer source, Date downTime); + + /** + * 楠岃瘉鏄惁婊¤冻寤惰繜娑堟伅 + * @param orderUid + * @param orderNo + * @param source + * @param downTime + * @return + */ + public boolean verifyOrder(Long orderUid, String orderNo, Integer source, Date downTime); + +} -- Gitblit v1.8.0