From 9d8dfb01ff72c57abad3b80f3d65e81a5354db03 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期五, 12 七月 2019 09:10:38 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- fanli/src/main/java/com/yeshi/fanli/service/impl/order/HongBaoOrderServiceImpl.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/HongBaoOrderServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/HongBaoOrderServiceImpl.java index 3db64cb..98f9cb3 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/HongBaoOrderServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/HongBaoOrderServiceImpl.java @@ -9,6 +9,7 @@ import com.yeshi.fanli.dao.mybatis.order.HongBaoOrderMapper; import com.yeshi.fanli.entity.order.HongBaoOrder; import com.yeshi.fanli.service.inter.order.HongBaoOrderService; +import com.yeshi.fanli.util.Constant; @Service public class HongBaoOrderServiceImpl implements HongBaoOrderService { @@ -57,4 +58,14 @@ return count == null ? 0 : count; } + @Override + public long countByOrderNoAndHongBaoType(String orderNo, int type) { + return hongBaoOrderMapper.countByOrderNoAndHongBaoType(orderNo, type, Constant.SOURCE_TYPE_TAOBAO); + } + + @Override + public HongBaoOrder selectDetailByCommonOrderId(Long commonOrderId) { + return hongBaoOrderMapper.selectByCommonOrderId(commonOrderId); + } + } -- Gitblit v1.8.0