Commit 576c92a8b28b1efefc141bff3a668bfd32e8c4e1

Authored by liquanyu
1 parent 272715c04b

出生医学证明

Showing 2 changed files with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ViewController.java View file @ 576c92a
... ... @@ -697,7 +697,7 @@
697 697 @RequestMapping(value = "/GetDeliveryInfo", method = RequestMethod.GET)
698 698 @ResponseBody
699 699 public Object getMatDeliverData(@RequestParam(required = true) String id,
700   - @RequestParam(required = true) String hospital) {
  700 + @RequestParam(required = false) String hospital) {
701 701 return viewFacade.getMatDeliverData(id,hospital);
702 702 }
703 703  
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java View file @ 576c92a
... ... @@ -4443,7 +4443,7 @@
4443 4443 Date fmDate = DateUtil.parseYMDHM(baby.getDueTime());
4444 4444  
4445 4445 //出生孕周(周)
4446   - map.put("babyweek", "孕" + week + "周" + (day > 0 ? "+" + day + "天" : ""));
  4446 + map.put("babyweek", String.valueOf(week));
4447 4447 //新生儿出生日期
4448 4448 map.put("babybirthday", DateUtil.getyyyy_MM_dd(fmDate));
4449 4449