Commit feabdf95c37efead3ada3e9c1ccf066f184902eb

Authored by liquanyu
1 parent bf89cdf25d

提醒短信

Showing 1 changed file with 1 additions and 1 deletions

platform-msg-generate/src/main/java/com/lyms/platform/msg/worker/TempleteMsgGenerateWorker.java View file @ feabdf9
... ... @@ -572,7 +572,7 @@
572 572 orderDate = DateUtils.formatDate(orderDate,DateUtils.Y_M_D);
573 573  
574 574 List<BabyEyeCheck> checkModels = mongoTemplate.find(Query.query(Criteria.where("nextCheckTime").is(orderDate)
575   - .and("yn").ne("0").and("hospitalId").is(tempHid)), BabyEyeCheck.class);
  575 + .and("yn").ne("1").and("hospitalId").is(tempHid)), BabyEyeCheck.class);
576 576 if (CollectionUtils.isNotEmpty(checkModels))
577 577 {
578 578 for(BabyEyeCheck eyecheck : checkModels)