From 09417e97672be66c5e312b10f23a9e30da3acb97 Mon Sep 17 00:00:00 2001 From: Administrator <Administrator@MS-20170306HGUF> Date: 星期一, 24 二月 2020 15:23:08 +0800 Subject: [PATCH] 热销转换发圈 --- fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java index 0867212..a344766 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java @@ -8,6 +8,7 @@ import javax.annotation.Resource; +import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Service; import org.yeshi.utils.DateUtil; @@ -168,6 +169,15 @@ return hongBaoV2CountMapper.countHongBaoType(dateType, type, year, startTime, endTime); } + + + @Override + public Integer countOrderByTypeAndDate(Integer orderType, String preDay) { + return hongBaoV2CountMapper.countOrderByTypeAndDate(orderType, preDay); + } + + + @Override public List<ChartTDO> getProportionByType(Integer dateType, Integer type, String year, String startTime, String endTime) throws Exception { @@ -344,16 +354,16 @@ } @Override - public BigDecimal getRewardMoneyToCount(Long uid, Integer dateType, Integer hbType) { - return hongBaoV2CountMapper.getRewardMoneyByDate(uid, dateType, hbType, null, null, null, null, null, null); + public BigDecimal getRewardMoneyToCount(Long uid, Integer dateType, Integer hbType, List<Integer> listSource) { + return hongBaoV2CountMapper.getRewardMoneyByDate(uid, dateType, hbType, null, null, null, null, null, listSource); } @Override public BigDecimal getRewardMoneyByToSearch(Long uid, Integer dateType, Integer orderType, Integer orderState, - String orderNo, Integer moneyState, Integer source, String startTime, String endTime) { - return hongBaoV2CountMapper.getRewardMoneyByDate(uid, dateType, orderType, orderState, orderNo, moneyState, source, - startTime, endTime); + String orderNo, Integer moneyState, String startTime, String endTime, List<Integer> listSource) { + return hongBaoV2CountMapper.getRewardMoneyByDate(uid, dateType, orderType, orderState, orderNo, moneyState, + startTime, endTime, listSource); } } -- Gitblit v1.8.0