mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-03 19:16:21 +00:00
fix 订单数量值和金额查询错误
This commit is contained in:
@@ -75,8 +75,8 @@ public class CockpitReportService {
|
||||
if (Objects.isNull(channelOrderLine)){
|
||||
channelLineReport.setOrderAmount(0).setOrderCount(0);
|
||||
} else {
|
||||
channelLineReport.setOrderAmount(channelOrderLine.getCount())
|
||||
.setOrderCount(channelOrderLine.getSum());
|
||||
channelLineReport.setOrderAmount(channelOrderLine.getSum())
|
||||
.setOrderCount(channelOrderLine.getCount());
|
||||
}
|
||||
return channelLineReport;
|
||||
}).collect(Collectors.toList());
|
||||
@@ -99,8 +99,8 @@ public class CockpitReportService {
|
||||
if (Objects.isNull(channelOrderLine)){
|
||||
channelLineReport.setOrderAmount(0).setOrderCount(0);
|
||||
} else {
|
||||
channelLineReport.setOrderAmount(channelOrderLine.getCount())
|
||||
.setOrderCount(channelOrderLine.getSum());
|
||||
channelLineReport.setOrderAmount(channelOrderLine.getSum())
|
||||
.setOrderCount(channelOrderLine.getCount());
|
||||
}
|
||||
return channelLineReport;
|
||||
}).collect(Collectors.toList());
|
||||
|
Reference in New Issue
Block a user