From 0ec22dcf4fd9c4496e6f681e7fab89f56c6e4e8a Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期四, 02 四月 2020 14:45:20 +0800 Subject: [PATCH] vip 消息 --- fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoOrderService.java | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoOrderService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoOrderService.java index e02c495..ff89c27 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoOrderService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoOrderService.java @@ -2,6 +2,8 @@ import java.util.List; +import org.apache.ibatis.annotations.Param; + import com.yeshi.fanli.entity.order.HongBaoOrder; public interface HongBaoOrderService { @@ -36,4 +38,51 @@ * @return */ public long countFanLiOrder(Long uid); + + /** + * 鏍规嵁璁㈠崟鍙峰拰璁㈠崟鏉ユ簮鑾峰彇鏁伴噺 + * + * @param orderNo + * @param hongBaotype + * @param sourceType + * @return + */ + public long countByOrderNoAndHongBaoType(String orderNo, int hongBaotype, int sourceType); + + /** + * 鑾峰彇璇︽儏 + * + * @param commonOrderId + * @return + */ + public HongBaoOrder selectDetailByCommonOrderId(Long commonOrderId); + + /** + * 鑾峰彇璇︽儏 + * + * @param hongBaoId + * @return + */ + public HongBaoOrder selectDetailByHongBaoId(Long hongBaoId); + + /** + * 鏍规嵁璁㈠崟鍙峰拰鏉ユ簮绫诲瀷鏌ヨ + * + * @param orderId + * @param sourceType + * @return + */ + public List<HongBaoOrder> listByOrderIdAndSourceType(@Param("orderId") String orderId, + @Param("sourceType") int sourceType); + + /** + * 鏍规嵁璁㈠崟鍙峰拰鏉ユ簮绫诲瀷鏌ヨ璇︽儏 + * + * @param orderId + * @param sourceType + * @return + */ + public List<HongBaoOrder> listDetailByOrderIdAndSourceType(@Param("orderId") String orderId, + @Param("sourceType") int sourceType); + } -- Gitblit v1.8.0