Commit 1d0c9c6a31cd8e15a5fc270d0a942807fd6187b9

Authored by chenzhangyue
1 parent 71556807

fix set password

src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java
... ... @@ -511,6 +511,10 @@ public class DeviceServiceImpl implements IDeviceService {
511 511 if (!ObjectUtils.isEmpty(device.getSdpIp())) {
512 512 deviceInStore.setSdpIp(device.getSdpIp());
513 513 }
  514 + if (!ObjectUtils.isEmpty(device.getPassword())) {
  515 + deviceInStore.setPassword(device.getPassword());
  516 + }
  517 +
514 518  
515 519 // 目录订阅相关的信息
516 520 if (device.getSubscribeCycleForCatalog() > 0) {
... ...