|
@ -1657,13 +1657,12 @@ public class SecurityMonitoringOrderService extends BaseJpaService<SecurityMonit
|
|
|
|
|
|
if (devices4.size() > 0) {
|
|
|
result = patientSignTopicInfo(result, patient, "preventLost", devices4.get(0).getDeviceSn(), true);
|
|
|
}
|
|
|
JSONObject response = patientDeviceService.getAqgDeviceInfo2(devices4.get(0).getDeviceSn());
|
|
|
|
|
|
//手表佩戴状态
|
|
|
if (response.containsKey("wear_flag") && response.get("wear_flag") != null) {
|
|
|
result.put("wear_flag", response.get("wear_flag"));
|
|
|
result.put("wear_flagName", 1==response.getInteger("wear_flag")?"未佩戴":"已佩戴");
|
|
|
JSONObject response = patientDeviceService.getAqgDeviceInfo2(devices4.get(0).getDeviceSn());
|
|
|
//手表佩戴状态
|
|
|
if (response.containsKey("wear_flag") && response.get("wear_flag") != null) {
|
|
|
result.put("wear_flag", response.get("wear_flag"));
|
|
|
result.put("wear_flagName", 1==response.getInteger("wear_flag")?"未佩戴":"已佩戴");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
patientSignTopicInfo(result, patient, "preventFall", null, true);
|