From 626d711cb15896055c13fe344eb7fcc824589715 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期四, 19 十二月 2019 15:38:42 +0800 Subject: [PATCH] 帮助中心 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserActiveLogService.java | 34 +++++++++++----------------------- 1 files changed, 11 insertions(+), 23 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserActiveLogService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserActiveLogService.java index ca3fc33..e8767c0 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserActiveLogService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserActiveLogService.java @@ -1,9 +1,10 @@ package com.yeshi.fanli.service.inter.user; +import java.util.Date; import java.util.List; -import java.util.Map; import com.yeshi.fanli.entity.bus.user.UserActiveLog; +import com.yeshi.fanli.entity.bus.user.UserActiveNumHistory; /** * 鐢ㄦ埛娲昏穬鏃ュ織鏈嶅姟 @@ -28,35 +29,22 @@ public UserActiveLog getUserLatestActiveInfo(Long uid); /** - * 鏍规嵁娓犻亾 缁熻褰撴棩鏂板鐢ㄦ埛鏁伴噺 - * @param channel + * 鑾峰彇绗竴娆℃椿璺冧俊鎭� + * + * @param uid * @return */ - public List<Map<String, Object>> countSameDayByChannel(String channel, Integer type, String years, - String startTime, String endTime) throws Exception; - /** - * 鏍规嵁娓犻亾 缁熻褰撴棩鏂板鐢ㄦ埛鏈夎喘涔拌涓虹殑鏁伴噺 - * @param channel - * @return - */ - public List<Object> countSameDayAndBuyGoodsByChannel(String channel, Integer type, String years, String startTime, - String endTime) throws Exception; + public UserActiveLog getFirstActiveInfo(Long uid); /** - * 褰撴棩浜х敓璁㈠崟鐨勬柊澧炵敤鎴� 涓� 褰撴棩鎬绘柊澧炵敤鎴锋瘮渚� - * @param channel - * @param type - * @param years + * + * @param dateType + * @param year * @param startTime * @param endTime * @return - * @throws Exception */ - public List<Object> getBuyProportion(String channel, Integer type, String years, String startTime, String endTime,Integer orderNum) - throws Exception; + public List<UserActiveNumHistory> query(Date startTime, Date endTime); - - public List<Map<String, Object>> countOneWeekUserInfo(String channel, String startTime, String endTime, Integer orderNumber) - throws Exception; - + public void addUserActiveNumHistory(String date); } -- Gitblit v1.8.0