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