Commit d02078397e4d71702494a9a24ba7d8ae824fbfc8
1 parent
212218c7
修复修改流传输模式
Showing
1 changed file
with
3 additions
and
0 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java
| @@ -514,6 +514,9 @@ public class DeviceServiceImpl implements IDeviceService { | @@ -514,6 +514,9 @@ public class DeviceServiceImpl implements IDeviceService { | ||
| 514 | if (!ObjectUtils.isEmpty(device.getPassword())) { | 514 | if (!ObjectUtils.isEmpty(device.getPassword())) { |
| 515 | deviceInStore.setPassword(device.getPassword()); | 515 | deviceInStore.setPassword(device.getPassword()); |
| 516 | } | 516 | } |
| 517 | + if (!ObjectUtils.isEmpty(device.getStreamMode())) { | ||
| 518 | + deviceInStore.setStreamMode(device.getStreamMode()); | ||
| 519 | + } | ||
| 517 | 520 | ||
| 518 | 521 | ||
| 519 | // 目录订阅相关的信息 | 522 | // 目录订阅相关的信息 |