|
@ -225,7 +225,7 @@ public class PatientDeviceController extends BaseController {
|
|
|
String sn = device.getDeviceSn();
|
|
|
synchronized (sn.intern()){
|
|
|
patientDeviceService.saveDevice(device);
|
|
|
patientDeviceLogService.savePatientDeviceLog(device,2,1);
|
|
|
patientDeviceLogService.savePatientDeviceLog(device,device.getDeviceSn(),2,1);
|
|
|
}
|
|
|
//修改设备表中{"1":"0", "2":"0"}的绑定次数 和其他绑定信息,
|
|
|
deviceDetailService.updateAfterBinding(device,new Date(),flag);
|