Commit 4673b2c6c1bcb2e076d1ee13b27e2d18e01b9709
1 parent
c1eb10de14
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 0 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
4673b2c
... | ... | @@ -4800,7 +4800,6 @@ |
4800 | 4800 | Criteria criteria=new Criteria(); |
4801 | 4801 | criteria.and("yn").is(YnEnums.YES.getId());//有效数据 |
4802 | 4802 | criteria.and("deliverDoctor").in(Pattern.compile("[^x00-xff]"));//模糊查询中文正则 |
4803 | - System.out.println(new Query(criteria).toString()); | |
4804 | 4803 | List <MaternalDeliverModel> maternalDeliverModelList = mongoTemplate.find(new Query(criteria).with(new Sort(Sort.Direction.DESC, "created")), MaternalDeliverModel.class); |
4805 | 4804 | if (CollectionUtils.isEmpty(maternalDeliverModelList)) { |
4806 | 4805 | // 没有查到,直接抛出 |