记得上下班打卡 | git大法好,push需谨慎

Commit 40a3f4b0 authored by 胡佳晨's avatar 胡佳晨

修改资金

parent 4be7bce8
...@@ -837,8 +837,7 @@ public class GoblinMongoUtils { ...@@ -837,8 +837,7 @@ public class GoblinMongoUtils {
Aggregation.match(criteria), Aggregation.match(criteria),
Aggregation.group("storeId") Aggregation.group("storeId")
.first("storeId").as("storeId") .first("storeId").as("storeId")
.first("skuPriceActual").as("skuPriceActual") .sum("skuPriceActual").as("skuPriceActual"));
.sum("skuPriceActualBig").as("skuPriceActualBig"));
} }
AggregationResults<GoblinOrderLogVo> outputType = mongoTemplate.aggregate(aggregation, GoblinOrderLogVo.class.getSimpleName(), GoblinOrderLogVo.class); AggregationResults<GoblinOrderLogVo> outputType = mongoTemplate.aggregate(aggregation, GoblinOrderLogVo.class.getSimpleName(), GoblinOrderLogVo.class);
List<GoblinOrderLogVo> dataList = new ArrayList(outputType.getMappedResults()); List<GoblinOrderLogVo> dataList = new ArrayList(outputType.getMappedResults());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment