mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-19 09:25:54 +08:00
设备统计接口
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.ruoyi.iot.mapper;
|
||||
|
||||
import com.ruoyi.iot.domain.DeviceLog;
|
||||
import com.ruoyi.iot.model.DeviceStatistic;
|
||||
import com.ruoyi.iot.model.MonitorModel;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@@ -24,6 +25,13 @@ public interface DeviceLogMapper
|
||||
*/
|
||||
public DeviceLog selectDeviceLogByLogId(Long logId);
|
||||
|
||||
/**
|
||||
* 查询日志分类总数
|
||||
*
|
||||
* @return 设备日志
|
||||
*/
|
||||
public DeviceStatistic selectCategoryLogCount();
|
||||
|
||||
/**
|
||||
* 查询设备日志列表
|
||||
*
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
package com.ruoyi.iot.mapper;
|
||||
|
||||
import com.ruoyi.iot.domain.Device;
|
||||
import com.ruoyi.iot.model.AuthenticateInputModel;
|
||||
import com.ruoyi.iot.model.DeviceAllShortOutput;
|
||||
import com.ruoyi.iot.model.ProductAuthenticateModel;
|
||||
import com.ruoyi.iot.model.DeviceShortOutput;
|
||||
import com.ruoyi.iot.model.*;
|
||||
import com.ruoyi.iot.model.ThingsModels.ThingsModelValuesInput;
|
||||
import com.ruoyi.iot.model.ThingsModels.ThingsModelValuesOutput;
|
||||
import org.springframework.stereotype.Repository;
|
||||
@@ -28,6 +25,13 @@ public interface DeviceMapper
|
||||
*/
|
||||
public Device selectDeviceByDeviceId(Long deviceId);
|
||||
|
||||
/**
|
||||
* 查询设备和产品总数
|
||||
*
|
||||
* @return 设备
|
||||
*/
|
||||
public DeviceStatistic selectDeviceProductAlertCount();
|
||||
|
||||
/**
|
||||
* 根据设备编号查询设备
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user