| | |
| | | package com.yeshi.fanli.service.inter.count;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | |
|
| | |
|
| | | public interface HongBaoV2CountService {
|
| | | |
| | | /**
|
| | | * 统计历史总到账金额
|
| | | * @param uid |
| | | * @param state |
| | | * @return
|
| | | */
|
| | | public BigDecimal countMoneyByUidAndState(Long uid, Integer state);
|
| | | |
| | | /**
|
| | | * 统计历史红包数量
|
| | | * @param uid |
| | | * @param state |
| | | * @return
|
| | | */
|
| | | public Integer countNumberByUidAndState(Long uid, Integer state);
|
| | | |
| | | /**
|
| | | * 统计总金额
|
| | | * @param channel 渠道
|
| | |
| | | * @param endTime 结束时间
|
| | | * @return
|
| | | */
|
| | | List<Map<String, Object>> countHongBaoMoney(String channel, Integer dateType, Integer state, String year, |
| | | public List<Map<String, Object>> countHongBaoMoney(String channel, Integer dateType, Integer state, String year, |
| | | String startTime, String endTime) throws Exception;
|
| | |
|
| | | /**
|
| | |
| | | * @param endTime 结束时间
|
| | | * @return
|
| | | */
|
| | | List<Map<String, Object>> countHongBaoNum(String channel, Integer dateType, Integer state, String year, |
| | | public List<Map<String, Object>> countHongBaoNum(String channel, Integer dateType, Integer state, String year, |
| | | String startTime, String endTime) throws Exception;
|
| | |
|
| | | /**
|
| | | * 分类型订单数与比例
|
| | | * @param dateType
|
| | | * @param type
|
| | | * @param year
|
| | | * @param startTime
|
| | | * @param endTime
|
| | | * @return
|
| | | * @throws Exception
|
| | | */
|
| | | public List<Map<String, Object>> getProportionByType(Integer dateType, Integer type, String year, String startTime,
|
| | | String endTime) throws Exception;
|
| | | |
| | | |
| | | |
| | |
|
| | | }
|