Commit 6414c51cf2c193d27062f5b13009ea618af3c4b5
1 parent
b8d41f8332
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 9 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
6414c51
... | ... | @@ -3375,11 +3375,18 @@ |
3375 | 3375 | //秦皇岛需求-儿保检查-身长体重图增加建档数据 |
3376 | 3376 | if(null!=babyModel&&"216".equals(babyModel.getHospitalId())){ |
3377 | 3377 | Map<String,Object> buildRecord=new HashMap<>(); |
3378 | + //月龄 | |
3379 | + int time=DateUtil.getBabyAgeMonth(babyModel.getBirth(), babyModel.getBuildDate()); | |
3378 | 3380 | buildRecord.put("head", babyModel.getBabyHead()); |
3379 | - buildRecord.put("time", DateUtil.getBabyAgeMonth(babyModel.getBirth(), babyModel.getBuildDate())); | |
3381 | + buildRecord.put("time", time); | |
3380 | 3382 | buildRecord.put("height", babyModel.getBabyHeight()); |
3381 | 3383 | buildRecord.put("weight", babyModel.getBabyWeight()); |
3382 | - tables.add(buildRecord); | |
3384 | + headTitles.add(time); | |
3385 | + headValues.add(babyModel.getBabyHead()); | |
3386 | + heightTitles.add(time); | |
3387 | + heightValues.add(babyModel.getBabyHeight()); | |
3388 | + weightTitles.add(time); | |
3389 | + weightValues.add(babyModel.getBabyWeight()); | |
3383 | 3390 | } |
3384 | 3391 | map.put("weightTitles", weightTitles); |
3385 | 3392 | map.put("weightValues", weightValues); |