yujian
2019-03-13 ff4e6308bf86c2606e3843ef4485b03ba2dc6e14
fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java
@@ -25,6 +25,7 @@
import com.yeshi.fanli.service.inter.count.HongBaoV2CountService;
import com.yeshi.fanli.service.inter.order.CommonOrderService;
import com.yeshi.fanli.service.inter.user.UserInfoService;
import com.yeshi.fanli.vo.order.HongBaoV2VO;
@Service
public class HongBaoV2CountServiceImpl implements HongBaoV2CountService {
@@ -182,7 +183,12 @@
         String year, String startTime, String endTime) throws Exception {
      return hongBaoV2CountMapper.countHongBaoNum(channel, dateType, state, year, startTime, endTime);
   }
   @Override
   public List<Map<String, Object>> countHongBaoType(Integer dateType, Integer type, String year,
         String startTime, String endTime) throws Exception {
      return hongBaoV2CountMapper.countHongBaoType(dateType, type, year, startTime, endTime);
   }
   
   @Override
   public List<Map<String, Object>> getProportionByType(Integer dateType, Integer type, String year,
@@ -258,5 +264,38 @@
      return hongBaoV2CountMapper.countNumberByUidAndState(uid, state);
   }
   @Override
   public int getTotalTiChengCount(Long uid) {
      return hongBaoV2CountMapper.getTotalTiChengCount(uid);
   }
   @Override
   public long countValidNumberByUid(Long uid, Integer dateType) {
      return hongBaoV2CountMapper.countValidNumberByUid(uid, dateType);
   }
   @Override
   public BigDecimal countWillGetMoneyByUid(Long uid) {
      return hongBaoV2CountMapper.countWillGetMoneyByUid(uid);
   }
   @Override
   public Date getLastHongBaoTime(Long uid) {
      return hongBaoV2CountMapper.getLastHongBaoTime(uid);
   }
   @Override
   public List<Map<String, Object>> count24HOderByChannel(String channel, Integer type, String years,
         String startTime, String endTime) throws Exception{
      return hongBaoV2CountMapper.count24HOderByChannel(channel, type, years, startTime, endTime);
   }
   @Override
   public List<HongBaoV2VO> listShareAndInviteMoney(long start, int count, String date) {
      return hongBaoV2CountMapper.listShareAndInviteMoney(start, count, date);
   }
   
}