Commit 4267a94ee308a2467eb3c290b19cae200d275c3f
1 parent
3d08537419
Exists in
master
and in
8 other branches
修改新电子病历
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
4267a94
... | ... | @@ -1382,7 +1382,9 @@ |
1382 | 1382 | String[] dates = nextDateStr.split(" - "); |
1383 | 1383 | |
1384 | 1384 | babyQuery.setNextDateStart(DateUtil.parseYMD(dates[0])); |
1385 | - babyQuery.setNextDateEnd(DateUtil.parseYMD(dates[1])); | |
1385 | + if(dates.length==2){ | |
1386 | + babyQuery.setNextDateEnd(DateUtil.parseYMD(dates[1])); | |
1387 | + } | |
1386 | 1388 | } |
1387 | 1389 | |
1388 | 1390 | if (StringUtils.isNotEmpty(request.getBirth())) |