Commit 8340a4111334a695be0ce6e077d8a1a887e8c972
1 parent
ed4eaed440
Exists in
master
and in
6 other branches
12333
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodPressureServiceImpl.java
View file @
8340a41
... | ... | @@ -153,7 +153,7 @@ |
153 | 153 | List<Integer> ssyMax = Arrays.asList(140, 140, 140, 140, 140, 140, 140); |
154 | 154 | List<Object> ssy = new ArrayList<>(); |
155 | 155 | List<Object> szy = new ArrayList<>(); |
156 | - List<Integer> pulse = new ArrayList<>(); | |
156 | + List<Object> pulse = new ArrayList<>(); | |
157 | 157 | List<String> xAxis = new ArrayList<>(); |
158 | 158 | if(bloodPressure != null) { |
159 | 159 | List<String> betweenDay = DateUtil.getBetweenDay(7); |
... | ... | @@ -170,7 +170,7 @@ |
170 | 170 | xAxis.add(date.replace("-", "/")); |
171 | 171 | ssy.add(infos.containsKey(date) ? infos.get(date).get("ssy") : 0); |
172 | 172 | szy.add(infos.containsKey(date) ? infos.get(date).get("szy") : 0); |
173 | - pulse.add(infos.containsKey(date) ? (Integer) infos.get(date).get("pulse") : 0); | |
173 | + pulse.add(infos.containsKey(date) ? (Integer) infos.get(date).get("pulse") : "--"); | |
174 | 174 | } |
175 | 175 | } |
176 | 176 | return RespBuilder.buildSuccess("xyInfos", xyInfos, "szyMin", szyMin, "ssyMax", ssyMax, "ssy", ssy, "szy", szy, "pulse", pulse); |