From f4548a3ee46afe45da4ee2a42dc169c575deee9f Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期三, 31 七月 2019 11:57:36 +0800 Subject: [PATCH] 动态v2兼容 --- 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