From b9f8ef2c4737b6e6be4b12fc8f7bafb033bfcfe5 Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期日, 22 九月 2019 16:47:33 +0800 Subject: [PATCH] 金币BUG修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserInfoCountService.java | 39 +++++++++++++++++++++++++++++++++++++-- 1 files changed, 37 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserInfoCountService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserInfoCountService.java index 0f80c59..d0fb7a4 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserInfoCountService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserInfoCountService.java @@ -1,6 +1,10 @@ package com.yeshi.fanli.service.inter.count; +import java.math.BigDecimal; import java.util.List; +import java.util.Map; + +import com.yeshi.fanli.vo.user.UserGoldCoinVO; @@ -27,7 +31,7 @@ * @param minMoney * @return */ - public double countAllMoney(Double minMoney); + public BigDecimal countAllMoney(Double minMoney); /** * 缁熻娴佸け鐢ㄦ埛鏁伴噺:锛� num 澶╂湭浣跨敤鐧诲綍骞朵笖鏃犱换浣曡祫閲戞祦鍔ㄧ殑璐﹀彿鏁伴噺锛� @@ -47,5 +51,36 @@ * 缁熻鏂板鐢ㄦ埛 * @return */ - public List<Object> countNewUserByDate(Integer type,String years, String startTime, String endTime) throws Exception; + public List<Map<String, Object>> countNewUserByDate(String channel,Integer type,String years, String startTime, String endTime) throws Exception; + + + + public List<Map<String, Object>> getTodayBuyRate(String channel, Integer type, String years, String startTime, + String endTime) throws Exception; + + + public List<Object> getWeekBuyRate(String channel, String startTime, String endTime, + Integer orderNum, List<String> dateList) throws Exception; + + + /** + * 缁熻鐢ㄦ埛閲戝竵鎯呭喌 + * @param start + * @param count + * @return + */ + public List<UserGoldCoinVO> listByUserGoldCoin(long start, int count, int type); + + public long countByUserGoldCoin(int type); + + /** + * 缁熻鍓╀綑閲戝竵 + * @param start + * @param count + * @return + */ + public List<UserGoldCoinVO> listByHasGoldCoin(long start, int count); + + public long countByHasGoldCoin(); + } -- Gitblit v1.8.0