Commit af600f868747f14efa091d8ac7ba6d683efe17cf
1 parent
7195dda36e
Exists in
master
and in
6 other branches
快速测量
Showing 2 changed files with 31 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java
View file @
af600f8
... | ... | @@ -515,6 +515,16 @@ |
515 | 515 | result.setAddress(userInfoModel.getAddress()); |
516 | 516 | result.setPhone(userInfoModel.getPhone()); |
517 | 517 | result.setVcCardNo(userInfoModel.getVcCardNo()); |
518 | + | |
519 | + MeasureDataInfoQuery measureDataInfoQuery = new MeasureDataInfoQuery(); | |
520 | + measureDataInfoQuery.setMeasureUserId(userInfoModel.getId()); | |
521 | + measureDataInfoQuery.setValueType(1); | |
522 | + List<MeasureDataInfoModel> dataModels = mysqlMeasureDataInfoService.queryMeasureDataInfoList(measureDataInfoQuery); | |
523 | + if (CollectionUtils.isNotEmpty(dataModels)) | |
524 | + { | |
525 | + result.setHeight(dataModels.get(0).getValueOne() == null ? "" : dataModels.get(0).getValueOne()); | |
526 | + result.setWeight(dataModels.get(0).getValueTwo() == null ? "" : dataModels.get(0).getValueTwo()); | |
527 | + } | |
518 | 528 | } |
519 | 529 | if ("216".equals(hospitalId)) |
520 | 530 | { |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/MeasureBaseInfoResult.java
View file @
af600f8
... | ... | @@ -47,6 +47,27 @@ |
47 | 47 | //指纹 |
48 | 48 | private String finger; |
49 | 49 | |
50 | + //身高 | |
51 | + private String height; | |
52 | + //体重 | |
53 | + private String weight; | |
54 | + | |
55 | + public String getHeight() { | |
56 | + return height; | |
57 | + } | |
58 | + | |
59 | + public void setHeight(String height) { | |
60 | + this.height = height; | |
61 | + } | |
62 | + | |
63 | + public String getWeight() { | |
64 | + return weight; | |
65 | + } | |
66 | + | |
67 | + public void setWeight(String weight) { | |
68 | + this.weight = weight; | |
69 | + } | |
70 | + | |
50 | 71 | public String getUserName() { |
51 | 72 | return userName; |
52 | 73 | } |