Commit f0009b5b0c0721a98e86d0d55deb29f8c0ebff8c
1 parent
0057bc6a3e
Exists in
master
and in
6 other branches
改逻辑
Showing 1 changed file with 9 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
f0009b5
... | ... | @@ -18,6 +18,8 @@ |
18 | 18 | import com.lyms.platform.pojo.Patients; |
19 | 19 | import org.apache.commons.collections.MapUtils; |
20 | 20 | import org.apache.commons.lang.StringUtils; |
21 | +import org.slf4j.Logger; | |
22 | +import org.slf4j.LoggerFactory; | |
21 | 23 | import org.springframework.beans.factory.annotation.Autowired; |
22 | 24 | import org.springframework.data.domain.Sort; |
23 | 25 | import org.springframework.data.mongodb.core.MongoTemplate; |
... | ... | @@ -47,6 +49,8 @@ |
47 | 49 | @Autowired |
48 | 50 | private PatientsService patientsService; |
49 | 51 | |
52 | + private Logger logger = LoggerFactory.getLogger(PatientWeightServiceImpl.class); | |
53 | + | |
50 | 54 | /** |
51 | 55 | * 最低:0~13 : 0~1.9 13~40 1.9~11.9 |
52 | 56 | * 最高: 0~2.2 2.2~15.9 |
... | ... | @@ -864,6 +868,11 @@ |
864 | 868 | } |
865 | 869 | |
866 | 870 | public void setReport(Map<String, Object> restMap, Map<Integer, String> weights, String beforeWeight, String bmi, Map<String, String> dayWeights) { |
871 | + logger.info("restMap>> " + restMap); | |
872 | + logger.info("weights>> " + weights); | |
873 | + logger.info("beforeWeight>> " + beforeWeight); | |
874 | + logger.info("bmi>> " + bmi); | |
875 | + logger.info("dayWeights>> " + dayWeights); | |
867 | 876 | List<Map<String, Object>> restList = new ArrayList<>(); |
868 | 877 | if(MapUtils.isNotEmpty(dayWeights)) { |
869 | 878 | for (String key : dayWeights.keySet()) { |