yujian
2020-01-08 819f08fcbe49d94d5d359d7f155861ca2e8abebb
fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java
@@ -13,15 +13,17 @@
import org.springframework.transaction.annotation.Transactional;
import com.yeshi.fanli.dao.mybatis.order.LostOrderMapper;
import com.yeshi.fanli.dto.ChartTDO;
import com.yeshi.fanli.entity.bus.user.HongBaoV2;
import com.yeshi.fanli.entity.bus.user.LostOrder;
import com.yeshi.fanli.entity.bus.user.Order;
import com.yeshi.fanli.entity.system.ConfigKeyEnum;
import com.yeshi.fanli.service.inter.config.ConfigService;
import com.yeshi.fanli.service.inter.msg.UserOrderMsgNotificationService;
import com.yeshi.fanli.service.inter.order.HongBaoOrderService;
import com.yeshi.fanli.service.inter.order.LostOrderService;
import com.yeshi.fanli.service.inter.order.OrderService;
import com.yeshi.fanli.service.inter.taobao.TaoBaoPunishOrderService;
import com.yeshi.fanli.service.inter.order.msg.UserOrderMsgNotificationService;
import com.yeshi.fanli.service.inter.order.tb.TaoBaoPunishOrderService;
import com.yeshi.fanli.util.Utils;
@Service
@@ -88,7 +90,7 @@
      // 次数限制
      long count = lostOrderMapper.countTodayAppeal(lostOrder.getUserInfo().getId());
      String countMax = configService.get("order_appeal_count_day");
      String countMax = configService.get(ConfigKeyEnum.orderAppealCountDay.getKey());
      if (countMax != null && countMax.trim().length() > 0 && count >= Long.parseLong(countMax)) {
         return -7;
      }
@@ -314,13 +316,13 @@
   }
   @Override
   public List<Map<String, Object>> countLostNum(Integer dateType, Integer resultCode, String year, String startTime,
   public List<ChartTDO> countLostNum(Integer dateType, Integer resultCode, String year, String startTime,
         String endTime) throws Exception {
      return lostOrderMapper.countLostNum(dateType, resultCode, year, startTime, endTime);
   }
   @Override
   public List<Map<String, Object>> countAppealMoney(Integer dateType, String year, String startTime, String endTime)
   public List<ChartTDO> countAppealMoney(Integer dateType, String year, String startTime, String endTime)
         throws Exception {
      return lostOrderMapper.countAppealMoney(dateType, year, startTime, endTime);
   }