From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinRecordService.java | 224 ++++++++++++++++++++++++++++---------------------------- 1 files changed, 112 insertions(+), 112 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinRecordService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinRecordService.java index 460d001..a346672 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinRecordService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/tlj/UserTaoLiJinRecordService.java @@ -1,112 +1,112 @@ -package com.yeshi.fanli.service.inter.tlj; - -import java.math.BigDecimal; -import java.util.Date; -import java.util.List; - -import com.yeshi.fanli.entity.bus.tlj.UserTaoLiJinRecord; -import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief; -import com.yeshi.fanli.exception.tlj.UserTaoLiJinRecordException; -import com.yeshi.fanli.vo.user.UserTaoLiJinRecordVO; - -public interface UserTaoLiJinRecordService { - - /** - * 鍒涘缓娣樼ぜ閲� - * @param origin 鐢ㄦ埛浣跨敤绫诲瀷锛� 1 鑷喘 銆� 2 鍒嗕韩 - * @param uid - * @param auctionId - * @param totalNum - * @param perface - * @throws UserTaoLiJinRecordException - */ - public UserTaoLiJinRecord createUserTaoLiJin(int origin, Long uid, Long auctionId, BigDecimal perface, int totalNum, String name, Date sendStartTime, - Date sendEndTime, Date useStartTime, Date useEndTime,String pid) throws UserTaoLiJinRecordException; - - - /** - * 鏌ヨ鐢ㄦ埛鍒嗕韩娣樼ぜ閲戣褰� - * @param start - * @param count - * @param uid - * @return - * @throws UserTaoLiJinRecordException - */ - public List<UserTaoLiJinRecordVO> getRecordByUid(long start, int count, Long uid); - - /** - * 缁熻鍒涘缓璁板綍鏉℃暟 - * @param uid - * @return - */ - public long countShareRecordByUid(Long uid); - - - /** - * 缁熻鍒涘缓娆℃暟 - * @param uid - * @return - */ - public long countRecordByUid(Long uid); - - /** - * 浠婃棩鍒涘缓鍒嗕韩绾㈠寘涓暟 - * @param uid - * @return - */ - public long countTodayNum(Long uid); - - /** - * 鏌ヨ鎺ㄥ箍绾㈠寘 - * @param uid - * @param goodsId - * @return - */ - public BigDecimal getShareHongBaoByUidAndGoodsId(Long uid, Long goodsId); - - - /** - * 鏍规嵁绾㈠寘id 鏌ヨ - * @param rightsId - * @return - */ - public UserTaoLiJinRecord getByRightsId(String rightsId); - - - public UserTaoLiJinRecord selectByPrimaryKey(Long id); - - /** - * 鑷喘鍒涘缓绾㈠寘 - * @param uid - * @param totalNum - * @param goods - * @return - * @throws UserTaoLiJinRecordException - */ - public UserTaoLiJinRecord createSelfBuyTaoLiJin(Long uid, int totalNum, TaoBaoGoodsBrief goods) - throws UserTaoLiJinRecordException; - - /** - * 鍒嗕韩鍒涘缓绾㈠寘 - * @param uid - * @param totalNum - * @param goods - * @return - * @throws UserTaoLiJinRecordException - */ - public UserTaoLiJinRecord createShareTaoLiJin(Long uid, int totalNum, TaoBaoGoodsBrief goods) - throws UserTaoLiJinRecordException; - - - /** - * 璧犻�佹帹骞跨孩鍖� - * @param uid - * @param amount - * @return - * @throws UserTaoLiJinRecordException - */ - public String giveTaolijin(Long uid, BigDecimal amount) throws UserTaoLiJinRecordException; - - -} - +package com.yeshi.fanli.service.inter.tlj; + +import java.math.BigDecimal; +import java.util.Date; +import java.util.List; + +import com.yeshi.fanli.entity.bus.tlj.UserTaoLiJinRecord; +import com.yeshi.goods.facade.entity.taobao.TaoBaoGoodsBrief; +import com.yeshi.fanli.exception.tlj.UserTaoLiJinRecordException; +import com.yeshi.fanli.vo.user.UserTaoLiJinRecordVO; + +public interface UserTaoLiJinRecordService { + + /** + * 鍒涘缓娣樼ぜ閲� + * @param origin 鐢ㄦ埛浣跨敤绫诲瀷锛� 1 鑷喘 銆� 2 鍒嗕韩 + * @param uid + * @param auctionId + * @param totalNum + * @param perface + * @throws UserTaoLiJinRecordException + */ + public UserTaoLiJinRecord createUserTaoLiJin(int origin, Long uid, String auctionId, BigDecimal perface, int totalNum, String name, Date sendStartTime, + Date sendEndTime, Date useStartTime, Date useEndTime,String pid) throws UserTaoLiJinRecordException; + + + /** + * 鏌ヨ鐢ㄦ埛鍒嗕韩娣樼ぜ閲戣褰� + * @param start + * @param count + * @param uid + * @return + * @throws UserTaoLiJinRecordException + */ + public List<UserTaoLiJinRecordVO> getRecordByUid(long start, int count, Long uid); + + /** + * 缁熻鍒涘缓璁板綍鏉℃暟 + * @param uid + * @return + */ + public long countShareRecordByUid(Long uid); + + + /** + * 缁熻鍒涘缓娆℃暟 + * @param uid + * @return + */ + public long countRecordByUid(Long uid); + + /** + * 浠婃棩鍒涘缓鍒嗕韩绾㈠寘涓暟 + * @param uid + * @return + */ + public long countTodayNum(Long uid); + + /** + * 鏌ヨ鎺ㄥ箍绾㈠寘 + * @param uid + * @param goodsId + * @return + */ + public BigDecimal getShareHongBaoByUidAndGoodsId(Long uid, Long goodsId); + + + /** + * 鏍规嵁绾㈠寘id 鏌ヨ + * @param rightsId + * @return + */ + public UserTaoLiJinRecord getByRightsId(String rightsId); + + + public UserTaoLiJinRecord selectByPrimaryKey(Long id); + + /** + * 鑷喘鍒涘缓绾㈠寘 + * @param uid + * @param totalNum + * @param goods + * @return + * @throws UserTaoLiJinRecordException + */ + public UserTaoLiJinRecord createSelfBuyTaoLiJin(Long uid, BigDecimal couplePrice, TaoBaoGoodsBrief goods) + throws UserTaoLiJinRecordException; + + /** + * 鍒嗕韩鍒涘缓绾㈠寘 + * @param uid + * @param totalNum + * @param goods + * @return + * @throws UserTaoLiJinRecordException + */ + public UserTaoLiJinRecord createShareTaoLiJin(Long uid, int totalNum, TaoBaoGoodsBrief goods) + throws UserTaoLiJinRecordException; + + + /** + * 璧犻�佹帹骞跨孩鍖� + * @param uid + * @param amount + * @return + * @throws UserTaoLiJinRecordException + */ + public String giveTaolijin(Long uid, BigDecimal amount) throws UserTaoLiJinRecordException; + + +} + -- Gitblit v1.8.0