yujian
2020-01-08 819f08fcbe49d94d5d359d7f155861ca2e8abebb
fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java
@@ -17,6 +17,7 @@
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.order.HongBaoOrderService;
import com.yeshi.fanli.service.inter.order.LostOrderService;
@@ -89,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;
      }