Commit e231ee10 by huangjy

feat,获取最新一条设备属性上报接口

parent 30cde46c
......@@ -67,6 +67,18 @@ public class IotProductDeviceService extends IotCommonService {
/**
* 获取最新的一条设备属性上报的数据
* @param deviceId
* @param typeValue 类型
*
* 可以传 :reportProperty
* @return
*/
public List<DeviceOperationLogEntity> getLastDeviceLogByType(String deviceId,String typeValue) {
return getDeviceLog(deviceId, 1,typeValue);
}
/**
*
* 根据类型查询设备日志
* text: "事件上报", value: "event"}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment