fix: 设备最后上数时间,新增字段,接口调用,小程序显示。
This commit is contained in:
@@ -77,4 +77,14 @@ public interface DeviceSensorDataMapper {
|
||||
@Param("endTime") String endTime,
|
||||
@Param("intervalType") Integer intervalType);
|
||||
|
||||
/**
|
||||
* 查询设备最新上数时间
|
||||
*
|
||||
* @param serialNum 设备序列号
|
||||
* @return 最新传感器数据
|
||||
*/
|
||||
@DS("taos")
|
||||
@InterceptorIgnore(tenantLine = "true")
|
||||
DeviceSensorData getLatestReportTime(@Param("serialNum") String serialNum);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user