| | |
| | | package com.yeshi.fanli.service.impl.count;
|
| | |
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.text.SimpleDateFormat;
|
| | | import java.util.ArrayList;
|
| | | import java.util.Date;
|
| | | import java.util.HashMap;
|
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.yeshi.utils.DateUtil;
|
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.UserInfoMapper;
|
| | | import com.yeshi.fanli.service.inter.count.UserInfoCountService;
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public double countAllMoney(Double rank) {
|
| | | public BigDecimal countAllMoney(Double rank) {
|
| | | return userInfoMapper.countAllMoney(rank);
|
| | | }
|
| | |
|
| | |
|
| | | @Override
|
| | | public long countLoseUser(int daysNum) {
|
| | | return userInfoMapper.countLoseUser(daysNum);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public long countHasOrderUser() {
|
| | | return userInfoMapper.countHasOrderUser();
|
| | | }
|
| | | |
| | | @Override
|
| | | public List<Map<String, Object>> countNewUserByDate(String channel,Integer type,String years, String startTime, |
| | | String endTime) throws Exception {
|
| | | return userInfoMapper.countNewUserByDate(channel, type, years, startTime, endTime);
|
| | | |
| | | }
|
| | |
|
| | | @Override
|
| | | public List<Map<String, Object>> getTodayBuyRate(String channel,Integer type,String years, String startTime, |
| | | String endTime) throws Exception {
|
| | | |
| | | List<Map<String, Object>> todayNum = |
| | | userInfoMapper.getTodayHasOrder(channel, type, years, startTime, endTime);
|
| | | |
| | | |
| | | |
| | | return todayNum;
|
| | | |
| | | |
| | | |
| | | |
| | | }
|
| | | |
| | | |
| | |
|
| | | }
|