Commit de922bde768f9a799d690931b8b149fc1372f45c

Authored by liquanyu
1 parent 6b12a3b817

血糖报告

Showing 1 changed file with 3 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodSugarServiceImpl.java View file @ de922bd
... ... @@ -440,7 +440,7 @@
440 440 return RespBuilder.buildSuccess("restList", restList, "count", bloodSugars.size(),
441 441 "dayCount", dayCountSet.size(), "month",
442 442 monthCountSet3, "monthAvgMap", monthAvgMap,
443   - "weekAvgMap", weekAvgMap,"newBloodVal",newBloodMap,"weightInfo",weightInfo,"isReport",isReport,"id",id,"currentWeek",blood.getCurrentWeek());
  443 + "weekAvgMap", weekAvgMap,"newBloodVal",newBloodMap,"weightInfo",weightInfo,"isReport",isReport,"id",id);
444 444 }
445 445  
446 446  
... ... @@ -759,6 +759,8 @@
759 759 Map<String,Object> nutritionModelData = new HashMap<>();
760 760 nutritionModelData.put("nutritionModelList", nutritionModel.getWeekContents());
761 761 reusltMap.put("nutritionModelData",nutritionModelData);
  762 +
  763 + reusltMap.put("currentWeek",blood.getCurrentWeek());
762 764 }
763 765  
764 766 resp.setErrorcode(ResponseCode.SUCCESS.getCode());