| | |
| | | package com.yeshi.fanli.service.inter.order;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import com.yeshi.fanli.entity.order.TeamOrderStatistic;
|
| | | import com.yeshi.fanli.exception.ParamsException;
|
| | |
|
| | | /**
|
| | | * 团队订单统计服务
|
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface TeamOrderStatisticService {
|
| | |
|
| | | /**
|
| | | * 添加统计
|
| | | * @Title: addTeamOrderStatistic
|
| | | * @Description: |
| | | * @param statistic |
| | | * void 返回类型
|
| | | * @throws
|
| | | */
|
| | | public void addTeamOrderStatistic(TeamOrderStatistic statistic) throws ParamsException;
|
| | |
|
| | | /**
|
| | | * 增加订单数
|
| | | * @Title: increDirectOrder
|
| | | * @Description: |
| | | * @param uid
|
| | | * @param date |
| | | * void 返回类型
|
| | | * @throws
|
| | | */
|
| | | public void increDirectOrder(Long uid, Date date);
|
| | |
|
| | | public void increIndirectOrder(Long uid, Date date);
|
| | |
|
| | | public void increOtherOrder(Long uid, Date date);
|
| | |
|
| | | /**
|
| | | * 根据日期统计数量
|
| | | * @Title: countByDate
|
| | | * @Description: |
| | | * @param minDate
|
| | | * @param maxDate
|
| | | * @return |
| | | * TeamOrderStatistic 返回类型
|
| | | * @throws
|
| | | */
|
| | | public TeamOrderStatistic countByUidAndDate(Long uid, Date minDate, Date maxDate);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.order; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.yeshi.fanli.entity.order.TeamOrderStatistic; |
| | | import com.yeshi.fanli.exception.ParamsException; |
| | | |
| | | /** |
| | | * 团队订单统计服务 |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public interface TeamOrderStatisticService { |
| | | |
| | | /** |
| | | * 添加统计 |
| | | * @Title: addTeamOrderStatistic |
| | | * @Description: |
| | | * @param statistic |
| | | * void 返回类型 |
| | | * @throws |
| | | */ |
| | | public void addTeamOrderStatistic(TeamOrderStatistic statistic) throws ParamsException; |
| | | |
| | | /** |
| | | * 增加订单数 |
| | | * @Title: increDirectOrder |
| | | * @Description: |
| | | * @param uid |
| | | * @param date |
| | | * void 返回类型 |
| | | * @throws |
| | | */ |
| | | public void increDirectOrder(Long uid, Date date); |
| | | |
| | | public void increIndirectOrder(Long uid, Date date); |
| | | |
| | | public void increOtherOrder(Long uid, Date date); |
| | | |
| | | /** |
| | | * 根据日期统计数量 |
| | | * @Title: countByDate |
| | | * @Description: |
| | | * @param minDate |
| | | * @param maxDate |
| | | * @return |
| | | * TeamOrderStatistic 返回类型 |
| | | * @throws |
| | | */ |
| | | public TeamOrderStatistic countByUidAndDate(Long uid, Date minDate, Date maxDate); |
| | | |
| | | } |