- 添加缺失的 Device.update() 调用,实际执行批量状态更新 - 定义 affectedCount 变量,解决 ReferenceError 崩溃问题 - 修复前 PUT /batch-status 必定抛出 500 错误