| | |
| | | package com.yeshi.fanli.service.inter.count;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.admin.count.DailyCountUser;
|
| | | import com.yeshi.fanli.entity.admin.count.DailyCountUser.DailyCountUserEnum;
|
| | |
|
| | | public interface DailyCountUserService {
|
| | |
|
| | | /**
|
| | | * 查询统计
|
| | | * @param type
|
| | | * @param startTime
|
| | | * @param endTime
|
| | | * @param channel
|
| | | * @return
|
| | | * @throws Exception
|
| | | */
|
| | | public List<DailyCountUser> getDailyCountList(String type, Date startTime, Date endTime, String channel) throws Exception;
|
| | |
|
| | | /**
|
| | | * 获取类型说明
|
| | | * @param type
|
| | | * @return
|
| | | */
|
| | | public String getTypeEnumDesc(String type);
|
| | |
|
| | | /**
|
| | | * 初始化统计数据
|
| | | * @param typeEnum
|
| | | * @throws Exception
|
| | | */
|
| | | public void initData(DailyCountUserEnum typeEnum) throws Exception;
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.count; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.admin.count.DailyCountUser; |
| | | import com.yeshi.fanli.entity.admin.count.DailyCountUser.DailyCountUserEnum; |
| | | |
| | | public interface DailyCountUserService { |
| | | |
| | | /** |
| | | * 查询统计 |
| | | * @param type |
| | | * @param startTime |
| | | * @param endTime |
| | | * @param channel |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public List<DailyCountUser> getDailyCountList(String type, Date startTime, Date endTime, String channel) throws Exception; |
| | | |
| | | /** |
| | | * 获取类型说明 |
| | | * @param type |
| | | * @return |
| | | */ |
| | | public String getTypeEnumDesc(String type); |
| | | |
| | | /** |
| | | * 初始化统计数据 |
| | | * @param typeEnum |
| | | * @throws Exception |
| | | */ |
| | | public void initData(DailyCountUserEnum typeEnum) throws Exception; |
| | | |
| | | } |