From 43a00f6b852dcf91cf51fb8f1a5c1386ee437a35 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 18 一月 2020 11:52:01 +0800 Subject: [PATCH] 增加订单商品分类日志 --- fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java index 7847416..19fc51c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java @@ -13,9 +13,11 @@ 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.order.HongBaoOrderService; import com.yeshi.fanli.service.inter.order.LostOrderService; @@ -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); } -- Gitblit v1.8.0