| | |
| | | if (minDate != null)
|
| | | list.add(Criteria.where("countDay").gte(minDate));
|
| | | if (maxDate != null)
|
| | | list.add(Criteria.where("countDay").lte(maxDate));
|
| | | list.add(Criteria.where("countDay").lt(maxDate));
|
| | |
|
| | | Query query = new Query();
|
| | | if (list.size() > 0) {
|
| | |
| | | if (minDate != null)
|
| | | list.add(Criteria.where("countDay").gte(minDate));
|
| | | if (maxDate != null)
|
| | | list.add(Criteria.where("countDay").lte(maxDate));
|
| | | list.add(Criteria.where("countDay").lt(maxDate));
|
| | |
|
| | | Query query = new Query();
|
| | | if (list.size() > 0) {
|
| | |
| | | if (minDate != null)
|
| | | list.add(Criteria.where("countDay").gte(minDate));
|
| | | if (maxDate != null)
|
| | | list.add(Criteria.where("countDay").lte(maxDate));
|
| | | list.add(Criteria.where("countDay").lt(maxDate));
|
| | |
|
| | | Query query = new Query();
|
| | | if (list.size() > 0) {
|
| | |
| | | if (minDate != null)
|
| | | list.add(Criteria.where("countDay").gte(minDate));
|
| | | if (maxDate != null)
|
| | | list.add(Criteria.where("countDay").lte(maxDate));
|
| | | list.add(Criteria.where("countDay").lt(maxDate));
|
| | |
|
| | | Query query = new Query();
|
| | | if (list.size() > 0) {
|
| | |
| | | if (minDate != null)
|
| | | list.add(Criteria.where("countDay").gte(minDate));
|
| | | if (maxDate != null)
|
| | | list.add(Criteria.where("countDay").lte(maxDate));
|
| | | list.add(Criteria.where("countDay").lt(maxDate));
|
| | |
|
| | | Query query = new Query();
|
| | | if (list.size() > 0) {
|
| | |
| | | // 查询条件
|
| | | List<Criteria> list = new ArrayList<Criteria>();
|
| | | list.add(Criteria.where("bossUid").is(uid));
|
| | | list.add(Criteria.where("result.firstNum").gt(0));
|
| | | if (minDate != null) {
|
| | | minDate = DateUtil.reduceDay(minDate, 1);
|
| | | list.add(Criteria.where("orders.countDay").gt(minDate));
|
| | | list.add(Criteria.where("result.countDay").gt(minDate));
|
| | | }
|
| | | if (maxDate != null) {
|
| | | maxDate = DateUtil.reduceDay(maxDate, 1);
|
| | | list.add(Criteria.where("orders.countDay").lte(maxDate));
|
| | | list.add(Criteria.where("result.countDay").lte(maxDate));
|
| | | }
|
| | |
|
| | | // 转换数组
|