Commit c0e4325354230d27e9de81909909ded323366c04

Authored by shiyang
1 parent 14486219b1

model.getParentId()非空判断

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java View file @ c0e4325
... ... @@ -1250,7 +1250,7 @@
1250 1250 }
1251 1251  
1252 1252  
1253   - if (CollectionUtils.isNotEmpty(models)) {
  1253 + if (CollectionUtils.isNotEmpty(models) && StringUtils.isNotEmpty(model.getParentId())) {
1254 1254  
1255 1255 PatientsQuery patientsQuery = new PatientsQuery();
1256 1256 patientsQuery.setId(model.getParentId());