Merge pull request #1057 from lunasaw/dev-wvp-0906

fix set password
This commit is contained in:
648540858
2023-09-06 10:32:24 +08:00
committed by GitHub

View File

@@ -511,6 +511,10 @@ public class DeviceServiceImpl implements IDeviceService {
if (!ObjectUtils.isEmpty(device.getSdpIp())) {
deviceInStore.setSdpIp(device.getSdpIp());
}
if (!ObjectUtils.isEmpty(device.getPassword())) {
deviceInStore.setPassword(device.getPassword());
}
// 目录订阅相关的信息
if (device.getSubscribeCycleForCatalog() > 0) {