fix: 用户登录逻辑判断修改。
This commit is contained in:
@@ -1744,7 +1744,8 @@ public class DeviceDataHandler {
|
||||
try {
|
||||
Integer rawCode = params.getInt("sensorErrorCode");
|
||||
if (rawCode == null) {
|
||||
log.warn("[探头错误码] 解析 sensorErrorCode 失败: {}", deviceName);
|
||||
// 部分设备/数据包不携带此字段,属于正常情况
|
||||
log.debug("[探头错误码] 设备上报数据不包含 sensorErrorCode 字段: {}", deviceName);
|
||||
return;
|
||||
}
|
||||
int sensorErrorCode = rawCode;
|
||||
|
||||
Reference in New Issue
Block a user