Commit 2f4ce94aaaab4af06e060469e02e0bd48ca54c65
1 parent
912d330aec
Exists in
master
and in
1 other branch
快速测量
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java
View file @
2f4ce94
| ... | ... | @@ -256,7 +256,7 @@ |
| 256 | 256 | } |
| 257 | 257 | dataInfoModel.setTodayCount(todayCount); |
| 258 | 258 | |
| 259 | - dataInfoModel.setRecordContent((measureDataInfoModel.getRecordContent() == null ? "" : measureDataInfoModel.getRecordContent()+ "," ) + measureInfoRequest.getValueOne()); | |
| 259 | + dataInfoModel.setRecordContent((StringUtils.isEmpty(measureDataInfoModel.getRecordContent()) ? "" : measureDataInfoModel.getRecordContent()+ "," ) + measureInfoRequest.getValueOne()); | |
| 260 | 260 | } |
| 261 | 261 | else |
| 262 | 262 | { |
| ... | ... | @@ -557,6 +557,7 @@ |
| 557 | 557 | if (StringUtils.isNotEmpty(recordContent)) |
| 558 | 558 | { |
| 559 | 559 | List<String> recordContents = Arrays.asList(recordContent.split(",")); |
| 560 | + Collections.reverse(recordContents); | |
| 560 | 561 | measureMap.put("bloodPressure",recordContents); |
| 561 | 562 | } |
| 562 | 563 | measureMap.put("pulse",dataInfoModel.getValueTwo()); |