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/order/dividents/TeamDividentsSourceOrderUserMapService.java | 348 ++++++++++++++++++++++++++++++++------------------------- 1 files changed, 193 insertions(+), 155 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderUserMapService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderUserMapService.java index 4c848a3..9f3d23c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderUserMapService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderUserMapService.java @@ -1,155 +1,193 @@ -package com.yeshi.fanli.service.inter.order.dividents; - -import java.math.BigDecimal; -import java.util.Date; -import java.util.List; - -import com.yeshi.fanli.entity.order.dividents.TeamDividentsSourceOrderUserMap; -import com.yeshi.fanli.exception.ParamsException; - -/** - * 鍒嗙孩婧愯鍗曚笌鍙備笌鍒嗙孩鐢ㄦ埛鐨勫搴斿叧绯� - * @author Administrator - * - */ -public interface TeamDividentsSourceOrderUserMapService { - - public TeamDividentsSourceOrderUserMap selectByPrimaryKeyForUpdate(Long id); - - /** - * 鍙戦�佸埌鐢ㄦ埛鍒嗙孩琛� - * @Title: send - * @Description: - * @param id - * void 杩斿洖绫诲瀷 - * @throws - */ - public void send(Long id); - - /** - * 娣诲姞鏄犲皠 - * @Title: addDividentsSourceOrderUserMap - * @Description: - * @param map - * @throws ParamsException - * void 杩斿洖绫诲瀷 - * @throws - */ - public void addDividentsSourceOrderUserMap(TeamDividentsSourceOrderUserMap map) throws ParamsException; - - /** - * 鑾峰彇鍙互鍙戦�佺殑鍒楄〃 - * @Title: listCanSend - * @Description: - * @param sourceUid - * @param maxPreSendTime - * @param page - * @param pageSize - * @return - * List<TeamDividentsSourceOrderUserMap> 杩斿洖绫诲瀷 - * @throws - */ - public List<TeamDividentsSourceOrderUserMap> listCanSend(Long sourceUid, Date maxPreSendTime, int page, - int pageSize); - - /** - * 鑾峰彇鍙互鍙戦�佺殑鍒楄〃鏁伴噺 - * @Title: countCanSend - * @Description: - * @param sourceUid - * @param maxPreSendTime - * @return - * long 杩斿洖绫诲瀷 - * @throws - */ - public long countCanSend(Long sourceUid, Date maxPreSendTime); - - /** - * 鏍规嵁婧愯鍗曚富閿煡璇� - * @Title: countBySourceOrderId - * @Description: - * @param sourceOrderId - * @return - * long 杩斿洖绫诲瀷 - * @throws - */ - public long countBySourceOrderId(Long sourceOrderId); - - /** - * 鏍规嵁婧愯鍗曚富閿煡璇� - * @Title: listBySourceOrderId - * @Description: - * @param sourceOrderId - * @return - * List<TeamDividentsSourceOrderUserMap> 杩斿洖绫诲瀷 - * @throws - */ - public List<TeamDividentsSourceOrderUserMap> listBySourceOrderId(Long sourceOrderId); - - /** - * 鑾峰彇鑳藉鍒嗙孩鐨勮鍗曟簮鐢ㄦ埛鍒楄〃 - * @Title: listCanSendSourceUidByPreSendTime - * @Description: - * @param preSendTime - * @param page - * @param count - * @return - * List<Long> 杩斿洖绫诲瀷 - * @throws - */ - public List<Long> listCanSendSourceUidByPreSendTime(Date preSendTime, int page, int count); - - /** - * 鑾峰彇鑳藉鍒嗙孩鐨勮鍗曟簮鐢ㄦ埛ID鏁伴噺 - * @Title: countCanSendUidByPreSendTime - * @Description: - * @param preSendTime - * @return - * Long 杩斿洖绫诲瀷 - * @throws - */ - public Long countCanSendSourceUidByPreSendTime(Date preSendTime); - - /** - * 璁㈠崟澶辨晥 - * @Title: invalidBySourceOrderId - * @Description: - * @param sourceOrderId - * void 杩斿洖绫诲瀷 - * @throws - */ - public void invalidBySourceOrderId(Long sourceOrderId); - - /** - * 鐢ㄦ埛瀵瑰簲鐨勮鍗曞け鏁� - * @Title: invalidOrderBySourceUid - * @Description: - * @param sourceUid - * void 杩斿洖绫诲瀷 - * @throws - */ - public void invalidOrderBySourceUid(Long sourceUid,String beiZhu); - - /** - * 璁㈠崟缁撶畻 - * @Title: orderSettle - * @Description: - * @param sourceOrderId - * @param income - * void 杩斿洖绫诲瀷 - * @throws - */ - public void orderSettle(Long sourceOrderId, Date preSendTime, BigDecimal income); - - /** - * 璁㈠崟鍙樺寲鏇存柊璧勯噾 - * @Title: updateMoney - * @Description: - * @param sourceOrderId - * @param income - * void 杩斿洖绫诲瀷 - * @throws - */ - public void updateMoney(Long sourceOrderId, BigDecimal income); - -} +package com.yeshi.fanli.service.inter.order.dividents; + +import java.math.BigDecimal; +import java.util.Date; +import java.util.List; + +import com.yeshi.fanli.entity.order.dividents.TeamDividentsSourceOrderUserMap; +import com.yeshi.fanli.exception.ParamsException; +import com.yeshi.fanli.vo.order.TeamDividentsVO; +import com.yeshi.fanli.vo.order.TeamOrderVO; + +/** + * 鍒嗙孩婧愯鍗曚笌鍙備笌鍒嗙孩鐢ㄦ埛鐨勫搴斿叧绯� + * @author Administrator + * + */ +public interface TeamDividentsSourceOrderUserMapService { + + public TeamDividentsSourceOrderUserMap selectByPrimaryKeyForUpdate(Long id); + + /** + * 鍙戦�佸埌鐢ㄦ埛鍒嗙孩琛� + * @Title: send + * @Description: + * @param id + * void 杩斿洖绫诲瀷 + * @throws + */ + public void send(Long id); + + /** + * 娣诲姞鏄犲皠 + * @Title: addDividentsSourceOrderUserMap + * @Description: + * @param map + * @throws ParamsException + * void 杩斿洖绫诲瀷 + * @throws + */ + public void addDividentsSourceOrderUserMap(TeamDividentsSourceOrderUserMap map) throws ParamsException; + + /** + * 鑾峰彇鍙互鍙戦�佺殑鍒楄〃 + * @Title: listCanSend + * @Description: + * @param sourceUid + * @param maxPreSendTime + * @param page + * @param pageSize + * @return + * List<TeamDividentsSourceOrderUserMap> 杩斿洖绫诲瀷 + * @throws + */ + public List<TeamDividentsSourceOrderUserMap> listCanSend(Long sourceUid, Date maxPreSendTime, int page, + int pageSize); + + /** + * 鑾峰彇鍙互鍙戦�佺殑鍒楄〃鏁伴噺 + * @Title: countCanSend + * @Description: + * @param sourceUid + * @param maxPreSendTime + * @return + * long 杩斿洖绫诲瀷 + * @throws + */ + public long countCanSend(Long sourceUid, Date maxPreSendTime); + + /** + * 鏍规嵁婧愯鍗曚富閿煡璇� + * @Title: countBySourceOrderId + * @Description: + * @param sourceOrderId + * @return + * long 杩斿洖绫诲瀷 + * @throws + */ + public long countBySourceOrderId(Long sourceOrderId); + + /** + * 鏍规嵁婧愯鍗曚富閿煡璇� + * @Title: listBySourceOrderId + * @Description: + * @param sourceOrderId + * @return + * List<TeamDividentsSourceOrderUserMap> 杩斿洖绫诲瀷 + * @throws + */ + public List<TeamDividentsSourceOrderUserMap> listBySourceOrderId(Long sourceOrderId); + + /** + * 鑾峰彇鑳藉鍒嗙孩鐨勮鍗曟簮鐢ㄦ埛鍒楄〃 + * @Title: listCanSendSourceUidByPreSendTime + * @Description: + * @param preSendTime + * @param page + * @param count + * @return + * List<Long> 杩斿洖绫诲瀷 + * @throws + */ + public List<Long> listCanSendSourceUidByPreSendTime(Date preSendTime, int page, int count); + + /** + * 鑾峰彇鑳藉鍒嗙孩鐨勮鍗曟簮鐢ㄦ埛ID鏁伴噺 + * @Title: countCanSendUidByPreSendTime + * @Description: + * @param preSendTime + * @return + * Long 杩斿洖绫诲瀷 + * @throws + */ + public Long countCanSendSourceUidByPreSendTime(Date preSendTime); + + /** + * 璁㈠崟澶辨晥 + * @Title: invalidBySourceOrderId + * @Description: + * @param sourceOrderId + * void 杩斿洖绫诲瀷 + * @throws + */ + public void invalidBySourceOrderId(Long sourceOrderId); + + /** + * 鐢ㄦ埛瀵瑰簲鐨勮鍗曞け鏁� + * @Title: invalidOrderBySourceUid + * @Description: + * @param sourceUid + * void 杩斿洖绫诲瀷 + * @throws + */ + public void invalidOrderBySourceUid(Long sourceUid,String beiZhu); + + /** + * 璁㈠崟缁撶畻 + * @Title: orderSettle + * @Description: + * @param sourceOrderId + * @param income + * void 杩斿洖绫诲瀷 + * @throws + */ + public void orderSettle(Long sourceOrderId, Date preSendTime, BigDecimal income); + + /** + * 璁㈠崟鍙樺寲鏇存柊璧勯噾 + * @Title: updateMoney + * @Description: + * @param sourceOrderId + * @param income + * void 杩斿洖绫诲瀷 + * @throws + */ + public void updateMoney(Long sourceOrderId, BigDecimal income); + + /** + * 鏌ヨ鍒嗙孩淇℃伅 + * @param sourceOrderId + * @param targetUid + * @return + */ + public List<TeamDividentsSourceOrderUserMap> listBySourceOrderIdAndTargetUid(Long sourceOrderId, Long targetUid); + + /** + * 缁熻姣忎釜璁㈠崟琛ヨ创-鍒嗙孩 + * @param start + * @param count + * @param targetUid + * @param minTime + * @param maxTime + * @return + */ + public List<TeamDividentsVO> listByDateAndTargetUid(long start, int count, Long targetUid, Date minTime, Date maxTime, String key); + + public long countByDateAndTargetUid(Long targetUid, Date minTime, Date maxTime, String key); + + public TeamDividentsVO sumByDateAndTargetUid(Long targetUid, Date minTime, Date maxTime, String key); + + /** + * 鏍规嵁uid 鍜岃鍗曞彿鎼滅储 + * @param start + * @param count + * @param sourceUid + * @param targetUid + * @param key + * @return + */ + public List<TeamOrderVO> searchByOrderNoOrSourceUid(long start, int count, Long targetUid, String key); + + public long countSearchByOrderNoOrSourceUid(Long targetUid, String key); + +} -- Gitblit v1.8.0