| | |
| | | import com.yeshi.fanli.service.inter.user.invite.ThreeSaleSerivce;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | | import com.yeshi.fanli.util.TimeUtil;
|
| | | import com.yeshi.fanli.vo.order.OrderRankingVO;
|
| | |
|
| | | @Service
|
| | | public class TeamDailyRecordServiceImpl implements TeamDailyRecordService {
|
| | |
| | |
|
| | | // 初始化数据
|
| | | initData(record);
|
| | | |
| | | record.setUpdateTime(new Date());
|
| | | teamDailyRecordDao.save(record);
|
| | | }
|
| | | }
|
| | |
| | | public List<TeamDailyRecord> sumGroupByYearMonth(Long uid, Date minTime, Date maxTime) {
|
| | | return teamDailyRecordDao.sumGroupByYearMonth(uid, minTime, maxTime);
|
| | | }
|
| | | |
| | | |
| | | @Override
|
| | | public List<TeamDailyRecord> sumTeamNumGroupByCountDay(Long uid, Date minDay, Date maxDay) {
|
| | | return teamDailyRecordDao.sumTeamNumGroupByCountDay(uid, minDay, maxDay);
|
| | | }
|
| | | |
| | | @Override
|
| | | public List<TeamDailyRecord> sumTeamNumGroupByYearMonth(Long uid, Date minDay, Date maxDay) {
|
| | | return teamDailyRecordDao.sumTeamNumGroupByYearMonth(uid, minDay, maxDay);
|
| | | }
|
| | | |
| | | |
| | | @Override
|
| | | public List<TeamDailyRecord> sumTeamNumGroupByUid(Long uid, Date minDay, Date maxDay) {
|
| | | return teamDailyRecordDao.sumTeamNumGroupByUid(uid, minDay, maxDay);
|
| | | }
|
| | | |
| | | @Override
|
| | | public List<OrderRankingVO> getRankingByFirstNum(Long uid, Date minDay, Date maxDay) {
|
| | | return teamDailyRecordDao.getRankingByFirstNum(uid, minDay, maxDay);
|
| | | }
|
| | | }
|