|
|
@@ -486,7 +486,7 @@ public class DeviceInfoService {
|
|
|
BeanUtils.copyProperties(_model, deviceInfoModel);
|
|
|
|
|
|
// 连接账号信息
|
|
|
- ResultContent<GateWayUserInfoModel> resultContent = gateWayUserInfoService.updateBindNumber(deviceInfo.getMqttUserName());
|
|
|
+ ResultContent<GateWayUserInfoModel> resultContent = gateWayUserInfoService.getUserByUserName(deviceInfo.getMqttUserName());
|
|
|
if (resultContent.isSuccess()) {
|
|
|
GateWayUserInfoModel gateWayUserInfoModel = resultContent.getContent();
|
|
|
if (ObjectUtils.isNotEmpty(gateWayUserInfoModel)) {
|