Commit 32385af2943002707b655ad49786ea3880894472

Authored by liquanyu
1 parent ed02aa2155
Exists in master and in 1 other branch dev

update code

Showing 2 changed files with 21 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java View file @ 32385af
... ... @@ -361,6 +361,16 @@
361 361 }
362 362 }
363 363  
  364 +
  365 + //产检日期
  366 + if (StringUtils.isNotEmpty(statisticsQueryRequest.getCheckDate())) {
  367 + String checkDate = statisticsQueryRequest.getCheckDate();
  368 + String[] dates = checkDate.split(" - ");
  369 +
  370 + antExRecordQuery.setCheckTimeStart(DateUtil.parseYMD(dates[0]));
  371 + antExRecordQuery.setCheckTimeEnd(DateUtil.parseYMD(dates[1]));
  372 + }
  373 +
364 374 //预产期查询
365 375 if (org.apache.commons.lang.StringUtils.isNotEmpty(statisticsQueryRequest.getDueDate())) {
366 376 String nextDateStr = statisticsQueryRequest.getDueDate();
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/CjStatisticsQueryRequest.java View file @ 32385af
... ... @@ -19,6 +19,17 @@
19 19 //医生id
20 20 private String dId;
21 21  
  22 + //检查日期
  23 + private String checkDate;
  24 +
  25 + public String getCheckDate() {
  26 + return checkDate;
  27 + }
  28 +
  29 + public void setCheckDate(String checkDate) {
  30 + this.checkDate = checkDate;
  31 + }
  32 +
22 33 public String getdId() {
23 34 return dId;
24 35 }