peng
2 天以前 44aacaabb89a128d1a47593cf8db5f908fa03fab
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);