|
@@ -106,6 +106,8 @@ public class QueryInfluxdbDataServiceImpl extends AbstractCrudService<QueryInflu
|
|
if((endTimeStamp - startTimeStamp) >= 3){ //请求超时3秒,返回失败
|
|
if((endTimeStamp - startTimeStamp) >= 3){ //请求超时3秒,返回失败
|
|
rec_map.put("code",-1);
|
|
rec_map.put("code",-1);
|
|
rec_map.put("message","下发命令失败");
|
|
rec_map.put("message","下发命令失败");
|
|
|
|
+
|
|
|
|
+ dmpDeviceCommandService.lambdaUpdate().set(DmpDeviceCommand::getCommandStatus,2).eq(DmpDeviceCommand::getId,commandId).update();
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|