|
@ -99,6 +99,8 @@ public class PatientDeviceController extends BaseController {
|
|
if (flagDevice == false){
|
|
if (flagDevice == false){
|
|
return write(-1,"请填写投放地址");
|
|
return write(-1,"请填写投放地址");
|
|
}
|
|
}
|
|
|
|
//注册设备地址
|
|
|
|
deviceDetailService.registerToWlyy(device);
|
|
}
|
|
}
|
|
//修改设备表中{"1":"0", "2":"0"}的绑定次数 和其他绑定信息
|
|
//修改设备表中{"1":"0", "2":"0"}的绑定次数 和其他绑定信息
|
|
deviceDetailService.updateAfterBinding(device,new Date(),flag);
|
|
deviceDetailService.updateAfterBinding(device,new Date(),flag);
|