Commit b62190a42db1cfb07dd8b381740702dd8e6f235d
1 parent
aa06f140f8
Exists in
master
and in
6 other branches
改app的曲线返回
Showing 1 changed file with 3 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
b62190a
... | ... | @@ -731,12 +731,11 @@ |
731 | 731 | */ |
732 | 732 | public static List<Double> delOtherPort(List<Double> list) { |
733 | 733 | List<Double> restList = new ArrayList<>(); |
734 | - for (int i = 0; i < list.size(); i++) { | |
735 | - | |
736 | - } | |
737 | 734 | if(CollectionUtils.isNotEmpty(list)) { |
738 | 735 | for (int i = 0; i < list.size(); i++) { |
739 | - if(i == 13 || i == 40) { | |
736 | + if(i == 0) { | |
737 | + restList.add(0.1D); | |
738 | + } else if(i == 13 || i == 40) { | |
740 | 739 | restList.add(MathUtil.doubleFormat2(list.get(i))); |
741 | 740 | } else { |
742 | 741 | restList.add(0D); |