debug,临时锁车命令发错了

This commit is contained in:
磷叶 2025-04-18 08:39:18 +08:00
parent 81260e34c9
commit 92cbc7f492

View File

@ -143,7 +143,7 @@ public class DeviceIotServiceImpl implements DeviceIotService {
if (rows > 0) { if (rows > 0) {
// 发送命令锁车 // 发送命令锁车
CommandResponse res = null; CommandResponse res = null;
if (DeviceStatus.TEMP_LOCKED.getCode().equals(device.getStatus())) { if (DeviceStatus.TEMP_LOCKED.getCode().equals(data.getStatus())) {
// 临时锁车 // 临时锁车
res = iotService.tempLock(device, SUB_SLOW, reason); res = iotService.tempLock(device, SUB_SLOW, reason);
} else { } else {