Browse Source

温度列表增加id。

zhengqiang 5 năm trước cách đây
mục cha
commit
6c7390a493

+ 1 - 0
web/src/main/java/com/jpsoft/smart/modules/mobile/controller/PersonDeviceLogApiController.java

@@ -158,6 +158,7 @@ public class PersonDeviceLogApiController {
                         .sorted(Comparator.comparing(PersonDeviceLog::getRecordTime))
                         .map((log)->{
                             Map<String,Object> map = new HashMap<>();
+                            //日志编号
                             map.put("id",log.getId());
                             map.put("temperature",log.getTemperature());
                             map.put("recordTime",sdf.format(log.getRecordTime()));