Commit 9fd060ef authored by ma's avatar ma

更新设备初始化信息

parent a260218c
...@@ -138,6 +138,11 @@ public class TerminalDeviceServiceImpl implements TerminalDeviceService { ...@@ -138,6 +138,11 @@ public class TerminalDeviceServiceImpl implements TerminalDeviceService {
if (deviceId == null || deviceId <= 0 || StringUtils.isEmpty(sn) || StringUtils.isEmpty(snBind)) { if (deviceId == null || deviceId <= 0 || StringUtils.isEmpty(sn) || StringUtils.isEmpty(snBind)) {
return BaseResult.validate_failed(); return BaseResult.validate_failed();
} }
return deviceService.platFormBind(platFormBindDTO); BaseResult result = deviceService.platFormBind(platFormBindDTO);
if (result.getCode() == 200) {
deviceManager.initDevices();
}
return result;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment