From e75b0d79535a6bcd147cca4a54632b70b42afdb9 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 29 五月 2021 18:10:18 +0800 Subject: [PATCH] 特价完善 --- fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderService.java | 226 ++++++++++++++++++++++++++++++------------------------- 1 files changed, 123 insertions(+), 103 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderService.java index 90bcd13..0010dd4 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/dividents/TeamDividentsSourceOrderService.java @@ -1,103 +1,123 @@ -package com.yeshi.fanli.service.inter.order.dividents; - -import java.math.BigDecimal; -import java.util.Date; - -import com.yeshi.fanli.entity.order.dividents.TeamDividentsSourceOrder; -import com.yeshi.fanli.exception.ParamsException; -import com.yeshi.fanli.exception.order.dividents.TeamDividentsSourceOrderException; - -public interface TeamDividentsSourceOrderService { - - /** - * 娣诲姞鍥㈤槦鍒嗙孩鏉ユ簮璁㈠崟 - * @Title: addTeamDividentsSourceOrder - * @Description: - * @param order - * void 杩斿洖绫诲瀷 - * @throws - */ - public TeamDividentsSourceOrder addTeamDividentsSourceOrder(TeamDividentsSourceOrder order) - throws TeamDividentsSourceOrderException, ParamsException; - - /** - * 鏍规嵁涓婚敭鏌ヨ - * @Title: selectByPrimaryKeyForUpdate - * @Description: - * @param id - * @return - * TeamDividentsSourceOrder 杩斿洖绫诲瀷 - * @throws - */ - public TeamDividentsSourceOrder selectByPrimaryKeyForUpdate(Long id); - - /** - * 浣胯鍗曞け鏁� - * @Title: invalidOrder - * @Description: - * @param orderNo - * @param sourceType - * @param beiZhu - * void 杩斿洖绫诲瀷 - * @throws - */ - public void invalidOrder(String orderNo, int sourceType, String beiZhu); - - /** - * 鏍规嵁uid澶辨晥 - * @Title: invalidOrderByUid - * @Description: - * @param uid - * @param beiZhu - * void 杩斿洖绫诲瀷 - * @throws - */ - public void invalidOrderByUid(Long uid, String beiZhu); - - /** - * 鍙戦�� - * @Title: send - * @Description: - * @param id - * void 杩斿洖绫诲瀷 - * @throws - */ - public void send(Long id); - - /** - * 鏍规嵁璁㈠崟鏌ヨ - * @Title: selectByOrderNoSourceType - * @Description: - * @param orderNo - * @param sourceType - * @return - * TeamDividentsSourceOrder 杩斿洖绫诲瀷 - * @throws - */ - public TeamDividentsSourceOrder selectByOrderNoSourceType(String orderNo, int sourceType); - - /** - * 璁㈠崟缁撶畻 - * @Title: orderSettle - * @Description: - * @param orderNo - * @param sourceType - * @param income - * void 杩斿洖绫诲瀷 - * @throws - */ - public void orderSettle(String orderNo, int sourceType,Date preSendTime, BigDecimal income); - - /** - * 鏇存柊璧勯噾 - * @Title: updateMoney - * @Description: - * @param orderNo - * @param sourceType - * @param money - * void 杩斿洖绫诲瀷 - * @throws - */ - public void updateMoney(String orderNo, int sourceType, BigDecimal money); - -} +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.TeamDividentsSourceOrder; +import com.yeshi.fanli.exception.ParamsException; +import com.yeshi.fanli.exception.order.dividents.TeamDividentsSourceOrderException; + +public interface TeamDividentsSourceOrderService { + + /** + * 娣诲姞鍥㈤槦鍒嗙孩鏉ユ簮璁㈠崟 + * @Title: addTeamDividentsSourceOrder + * @Description: + * @param order + * void 杩斿洖绫诲瀷 + * @throws + */ + public TeamDividentsSourceOrder addTeamDividentsSourceOrder(TeamDividentsSourceOrder order) + throws TeamDividentsSourceOrderException, ParamsException; + + /** + * 鏍规嵁涓婚敭鏌ヨ + * @Title: selectByPrimaryKeyForUpdate + * @Description: + * @param id + * @return + * TeamDividentsSourceOrder 杩斿洖绫诲瀷 + * @throws + */ + public TeamDividentsSourceOrder selectByPrimaryKeyForUpdate(Long id); + + /** + * 浣胯鍗曞け鏁� + * @Title: invalidOrder + * @Description: + * @param orderNo + * @param sourceType + * @param beiZhu + * void 杩斿洖绫诲瀷 + * @throws + */ + public void invalidOrder(String orderNo, int sourceType, String beiZhu); + + /** + * 鏍规嵁uid澶辨晥 + * @Title: invalidOrderByUid + * @Description: + * @param uid + * @param beiZhu + * void 杩斿洖绫诲瀷 + * @throws + */ + public void invalidOrderByUid(Long uid, String beiZhu); + + /** + * 鍙戦�� + * @Title: send + * @Description: + * @param id + * void 杩斿洖绫诲瀷 + * @throws + */ + public void send(Long id); + + /** + * 鏍规嵁璁㈠崟鏌ヨ + * @Title: selectByOrderNoSourceType + * @Description: + * @param orderNo + * @param sourceType + * @return + * TeamDividentsSourceOrder 杩斿洖绫诲瀷 + * @throws + */ + public TeamDividentsSourceOrder selectByOrderNoSourceType(String orderNo, int sourceType); + + + /** + * 鏍规嵁璁㈠崟鍙锋煡璇� + * @Title: listByOrderNoSourceType + * @Description: + * @param orderNo + * @return + * List<TeamDividentsSourceOrder> 杩斿洖绫诲瀷 + * @throws + */ + public List<TeamDividentsSourceOrder> listByOrderNoOrUid(String orderNo,Long uid); + + /** + * 璁㈠崟缁撶畻 + * @Title: orderSettle + * @Description: + * @param orderNo + * @param sourceType + * @param income + * void 杩斿洖绫诲瀷 + * @throws + */ + public void orderSettle(String orderNo, int sourceType,Date preSendTime, BigDecimal income); + + /** + * 鏇存柊璧勯噾 + * @Title: updateMoney + * @Description: + * @param orderNo + * @param sourceType + * @param money + * void 杩斿洖绫诲瀷 + * @throws + */ + public void updateMoney(String orderNo, int sourceType, BigDecimal money); + + /** + * 鏍规嵁璁㈠崟鍙锋煡璇� + * @param orderNo + * @return + */ + public List<TeamDividentsSourceOrder> listByOrderNo(String orderNo); + +} -- Gitblit v1.8.0