1
0

绑定蓝牙问题解决

This commit is contained in:
2025-07-12 09:52:14 +08:00
parent c73a700210
commit 24f0caacd5
3 changed files with 7 additions and 3 deletions

View File

@ -547,7 +547,7 @@ public class DeviceServiceImpl extends ServiceImpl<DeviceMapper, Device> impleme
deviceUpdateWrapper.eq("id", device.getId())
.set("binding_status", BindingStatusEnum.BOUND.getCode())
.set("binding_user_id", userId);
return baseMapper.update(null, qw);
return baseMapper.update(null, deviceUpdateWrapper);
} else {
throw new RuntimeException("通讯方式错误");
}