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

fix set password
结构优化
648540858 2023-09-06 10:32:24 +08:00 committed by GitHub
commit 212218c7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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) {