2020年2月26日

java里mongodb复合查询

摘要: Query query = new Query();Criteria criteria = Criteria.where("packetTitle").is(redPacketStatVO.getActiveTitle()) .and("activeCode").is(redPacketStatVO 阅读全文

posted @ 2020-02-26 16:10 贾广祥 阅读(654) 评论(0) 推荐(0)

java使用mongoTemplate去重排序查询

摘要: import org.springframework.data.mongodb.core.MongoTemplate;import org.springframework.data.mongodb.core.aggregation.Aggregation;import org.springframe 阅读全文

posted @ 2020-02-26 11:47 贾广祥 阅读(16995) 评论(0) 推荐(1)

导航