Commit 345ac8fc3b9d50e034801cc4ca75cb5f5b6bc76f

Authored by liquanyu
1 parent 124379ff08

儿童曲线图

Showing 1 changed file with 5 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ 345ac8f
... ... @@ -2559,7 +2559,8 @@
2559 2559 if (chumodel != null && StringUtils.isNotEmpty(chumodel.getGonggao()))
2560 2560 {
2561 2561 Map<String,String> item = new HashMap<>();
2562   - item.put(DateUtil.getyyyy_MM_dd(chumodel.getCheckTime()), chumodel.getGonggao());
  2562 + item.put("value", chumodel.getGonggao());
  2563 + item.put("time", DateUtil.getyyyy_MM_dd(chumodel.getCheckTime()));
2563 2564 if (StringUtils.isNumeric(chumodel.getGonggao()))
2564 2565 {
2565 2566 titles.add(DateUtil.getyyyy_MM_dd(chumodel.getCheckTime()));
... ... @@ -2581,7 +2582,8 @@
2581 2582 if (anmodel != null && StringUtils.isNotEmpty(anmodel.getGongGao()))
2582 2583 {
2583 2584 Map<String,String> item = new HashMap<>();
2584   - item.put(DateUtil.getyyyy_MM_dd(anmodel.getCheckDate()), anmodel.getGongGao());
  2585 + item.put("value", anmodel.getGongGao());
  2586 + item.put("time", DateUtil.getyyyy_MM_dd(anmodel.getCheckDate()));
2585 2587 if (StringUtils.isNumeric(anmodel.getGongGao()))
2586 2588 {
2587 2589 titles.add(DateUtil.getyyyy_MM_dd(anmodel.getCheckDate()));
... ... @@ -2594,7 +2596,7 @@
2594 2596  
2595 2597 map.put("titles",titles);
2596 2598 map.put("values",values);
2597   - map.put("tables",tables);
  2599 + map.put("tables", tables);
2598 2600  
2599 2601 return new BaseObjectResponse().setData(map).setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功");
2600 2602 }