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

Commit 46ec091e authored by 胡佳晨's avatar 胡佳晨

修改 资金列表

parent 5e90cfad
...@@ -873,7 +873,10 @@ public class GoblinMongoUtils { ...@@ -873,7 +873,10 @@ public class GoblinMongoUtils {
finalCount = spuIdList.size(); finalCount = spuIdList.size();
} }
} }
criteria = criteria.and("spuId").in(spuIdList.subList(skipCount, finalCount)); if(finalCount>0){
spuIdList = spuIdList.subList(skipCount, finalCount);
}
criteria = criteria.and("spuId").in(spuIdList);
//查询聚合数据 //查询聚合数据
Aggregation aggregation = Aggregation.newAggregation( Aggregation aggregation = Aggregation.newAggregation(
......
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