Criteria.where("amount").exists(true).andOperator(Criteria.where("$where").is("this.amount>=" + amountStart), Criteria.where("$where").is("this.amount<=" + amountEnd));
mongo字符串数字范围查询-Criteria写法
最新推荐文章于 2024-06-21 15:14:18 发布
Criteria.where("amount").exists(true).andOperator(Criteria.where("$where").is("this.amount>=" + amountStart), Criteria.where("$where").is("this.amount<=" + amountEnd));