admin
2019-10-18 7abe4e6827998c56fafe53679addc5d78c6e45c0
fanli/src/main/java/com/yeshi/fanli/service/impl/count/CommonOrderCountServiceImpl.java
@@ -43,8 +43,7 @@
      return commonOrderCountMapper.countByState(state);
   }
   public List<ChartTDO> dayFactory(String startTime, String endTime, List<ChartTDO> list)
         throws Exception {
   public List<ChartTDO> dayFactory(String startTime, String endTime, List<ChartTDO> list) throws Exception {
      List<ChartTDO> listObject = new ArrayList<ChartTDO>();
      if (startTime.equals(endTime)) {
         ChartTDO chartTDO = list.get(0);
@@ -133,14 +132,14 @@
   }
   @Override
   public List<ChartTDO> getTrackAccuracyRate(Integer dateType, String year, String startTime,
         String endTime, int sourceType) throws Exception {
   public List<ChartTDO> getTrackAccuracyRate(Integer dateType, String year, String startTime, String endTime,
         int sourceType) throws Exception {
      List<ChartTDO> result_list = null;
      // 用户订单
      List<ChartTDO> listTotal = commonOrderCountMapper.countOrderNumber(dateType, year, startTime,
            endTime, sourceType);
      List<ChartTDO> listTotal = commonOrderCountMapper.countOrderNumber(dateType, year, startTime, endTime,
            sourceType);
      if (listTotal == null || listTotal.size() == 0) {
         return result_list;
      }
@@ -205,14 +204,14 @@
   }
   @Override
   public List<ChartTDO> countWeiQaunOrderMoney(Integer dateType, String year, String startTime,
         String endTime) throws Exception {
   public List<ChartTDO> countWeiQaunOrderMoney(Integer dateType, String year, String startTime, String endTime)
         throws Exception {
      return taoBaoWeiQuanOrderMapper.countWeiQaunOrderMoney(dateType, year, startTime, endTime);
   }
   @Override
   public List<ChartTDO> countWeiQaunOrderNumber(Integer dateType, String year, String startTime,
         String endTime) throws Exception {
   public List<ChartTDO> countWeiQaunOrderNumber(Integer dateType, String year, String startTime, String endTime)
         throws Exception {
      return taoBaoWeiQuanOrderMapper.countWeiQaunOrderNumber(dateType, year, startTime, endTime);
   }
@@ -242,4 +241,14 @@
      return commonOrderCountMapper.countValidOrderByDate(uid, dateTime);
   }
   @Override
   public long countSameShopOrderByUidAndHongBaoType(List<Integer> typeList, Long uid, int minSameShopGoodsCount) {
      return commonOrderCountMapper.countSameShopOrderByUidAndHongBaoType(typeList, uid, minSameShopGoodsCount);
   }
   @Override
   public long countSameGoodsOrderByUidAndHongBaoType(List<Integer> typeList, Long uid, int minSameGoodsOrderCount) {
      return commonOrderCountMapper.countSameGoodsOrderByUidAndHongBaoType(typeList, uid, minSameGoodsOrderCount);
   }
}