Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop
This commit is contained in:
commit
88ab071ac7
@ -135,9 +135,9 @@ public class IndexStatisticsServiceImpl implements IndexStatisticsService {
|
||||
//下单统计
|
||||
Map<String, Object> map = storeFlowStatisticsService.getOrderStatisticsPrice();
|
||||
//今日下单数
|
||||
indexStatisticsVO.setTodayOrderNum(map.get("num") == null ? 0L : (Long) map.get("num"));
|
||||
indexStatisticsVO.setTodayOrderNum(map.get("num") == null ? 0L : Long.parseLong(map.get("num").toString()));
|
||||
//今日下单金额
|
||||
indexStatisticsVO.setTodayOrderPrice(map.get("price") == null ? 0D : (Double) map.get("price"));
|
||||
indexStatisticsVO.setTodayOrderPrice(map.get("price") == null ? 0D : Double.parseDouble(map.get("price").toString()));
|
||||
|
||||
//今日新增会员数量
|
||||
indexStatisticsVO.setTodayMemberNum(memberStatisticsService.todayMemberNum());
|
||||
|
@ -37,7 +37,7 @@ public class RefundOrderStatisticsServiceImpl extends ServiceImpl<RefundOrderSta
|
||||
|
||||
QueryWrapper queryWrapper = getQueryWrapper(statisticsQueryParam);
|
||||
queryWrapper.select("SUM(final_price) AS price");
|
||||
return (Double) this.getMap(queryWrapper).get("price");
|
||||
return Double.parseDouble(this.getMap(queryWrapper).get("price").toString());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user