debug,临时锁车命令发错了
This commit is contained in:
parent
81260e34c9
commit
92cbc7f492
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user