Commit 0f261143a0b6c144395a85fcd8af230c7f4fffb4

Authored by jiangjiazhi
1 parent 21d317531c

修改新电子病历

Showing 1 changed file with 10 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ApplyOrderFacade.java View file @ 0f26114
... ... @@ -432,6 +432,16 @@
432 432 }
433 433 }
434 434  
  435 + if(StringUtils.isNotEmpty(applyOrderQueryRequest.getBirth())){
  436 + String[] str= applyOrderQueryRequest.getBirth().split(" - ");
  437 + if(str.length>1){
  438 + referralApplyOrderQuery.setBirthStart(DateUtil.parseYMD(str[0]));
  439 + }
  440 + if(str.length==2){
  441 + referralApplyOrderQuery.setBirthEnd(new Date(DateUtil.parseYMD(str[1]).getTime()+86398000));
  442 + }
  443 + }
  444 +
435 445 List<ReferralApplyOrderModel> orderModels = applyOrderService.queryReferralApplyOrderWithQuery(referralApplyOrderQuery);
436 446 if (CollectionUtils.isNotEmpty(orderModels)) {
437 447