diff --git a/daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/core/report/service/CockpitReportService.java b/daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/core/report/service/CockpitReportService.java index 96615c2b5..a0015f820 100644 --- a/daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/core/report/service/CockpitReportService.java +++ b/daxpay-single/daxpay-single-service/src/main/java/cn/bootx/platform/daxpay/service/core/report/service/CockpitReportService.java @@ -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());