|
@ -686,7 +686,6 @@ public class YsDeviceService {
|
|
|
String gbchannel,HttpServletRequest request) throws Exception {
|
|
|
JSONObject result = new JSONObject();
|
|
|
MultiValueMap<String,String> param = new LinkedMultiValueMap<>();
|
|
|
param.add("accessToken",getIotAccessToken(deviceSerial));
|
|
|
if (StringUtils.isBlank(deviceSerial)){
|
|
|
if (StringUtils.isNotBlank(patient)){
|
|
|
List<DevicePatientDevice> devices = patientDeviceDao.findByUserAndCategoryCode(patient,"12");
|
|
@ -695,6 +694,7 @@ public class YsDeviceService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
param.add("accessToken",getIotAccessToken(deviceSerial));
|
|
|
if (StringUtils.isNotBlank(deviceSerial)){
|
|
|
param.add("deviceSerial",deviceSerial);
|
|
|
}
|