Commit 212218c7c4e0fa334119c0b420c52d5f64cb3f0f

Authored by 648540858
Committed by GitHub
2 parents 3cdede80 1d0c9c6a

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

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