Commit aa06f140f867d8d62653083afce690740dcbc2c2

Authored by litao@lymsh.com
1 parent f48e549e75

改app的曲线返回

Showing 1 changed file with 3 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java View file @ aa06f14
... ... @@ -736,10 +736,10 @@
736 736 }
737 737 if(CollectionUtils.isNotEmpty(list)) {
738 738 for (int i = 0; i < list.size(); i++) {
739   - if(i != 0 || i != 13 || i != 40) {
740   - restList.add(0D);
741   - } else {
  739 + if(i == 13 || i == 40) {
742 740 restList.add(MathUtil.doubleFormat2(list.get(i)));
  741 + } else {
  742 + restList.add(0D);
743 743 }
744 744 }
745 745 }