Commit 5464b89175f9b042b1587adf23141580454b9971
1 parent
c0370d3098
Exists in
master
and in
6 other branches
血糖
Showing 1 changed file with 5 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodSugarServiceImpl.java
View file @
5464b89
| ... | ... | @@ -677,14 +677,14 @@ |
| 677 | 677 | |
| 678 | 678 | //1 无需药物治疗 2 需药物治疗 |
| 679 | 679 | Map<String,Object> medicineData = new HashMap<>(); |
| 680 | - if (blood.getType() != null && blood.getType() == 2) | |
| 681 | - { | |
| 680 | + if (blood.getType() != null && blood.getType() == 2) { | |
| 682 | 681 | BloodSugarConfigModel medicineModel = mongoTemplate.findOne(Query.query(Criteria.where("type").is(3).and("week").is(String.valueOf(week))), BloodSugarConfigModel.class); |
| 683 | - medicineData.put("medicineList",medicineModel.getWeekContents()); | |
| 682 | + medicineData.put("medicineList", medicineModel.getWeekContents()); | |
| 684 | 683 | medicineData.put("medicineList1", medicineModel.getWeekContentsTwo()); |
| 685 | - }else{ | |
| 686 | - medicineData.put("medicineList1","请随时注意血糖变化情况,如出现异常及时就医,遵医嘱调整治疗方案。"); | |
| 687 | 684 | } |
| 685 | +// }else{ | |
| 686 | +// medicineData.put("medicineList1","请随时注意血糖变化情况,如出现异常及时就医,遵医嘱调整治疗方案。"); | |
| 687 | +// } | |
| 688 | 688 | reusltMap.put("medicineData",medicineData); |
| 689 | 689 | |
| 690 | 690 |