zxl
36 分钟以前 3b1451ed5f5852b6c0bbe2bbca48874cfdb4f11e
framework/src/main/java/cn/lili/modules/statistics/serviceimpl/StoreFlowStatisticsServiceImpl.java
@@ -153,7 +153,8 @@
        if (StringUtils.isNotEmpty(statisticsQueryParam.getStoreId())) {
            queryWrapper.eq("store_id", statisticsQueryParam.getStoreId());
        }
        queryWrapper.select("SUM(final_price) AS price , COUNT(0) AS num");
//        queryWrapper.select("SUM(final_price) AS price , COUNT(0) AS num");
        queryWrapper.select("SUM(final_price) AS price , COUNT(DISTINCT order_sn) AS num");
        queryWrapper.eq("flow_type", FlowTypeEnum.PAY.name());
        Map payment = this.getMap(queryWrapper);