| | |
| | | package com.ycl.platform.mapper; |
| | | |
| | | import com.ycl.platform.entity.TMonitor; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ycl.platform.domain.entity.TMonitor; |
| | | import com.ycl.platform.domain.vo.TMonitorVO; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 设备资产Mapper接口 |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-03-04 |
| | | */ |
| | | public interface TMonitorMapper |
| | | public interface TMonitorMapper extends BaseMapper<TMonitor> |
| | | { |
| | | /** |
| | | * 查询设备资产 |
| | | * |
| | | * |
| | | * @param id 设备资产主键 |
| | | * @return 设备资产 |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 查询设备资产列表 |
| | | * |
| | | * |
| | | * @param tMonitor 设备资产 |
| | | * @return 设备资产集合 |
| | | */ |
| | | public List<TMonitor> selectTMonitorList(TMonitor tMonitor); |
| | | public List<TMonitorVO> selectTMonitorList(TMonitor tMonitor); |
| | | |
| | | /** |
| | | * 新增设备资产 |
| | | * |
| | | * |
| | | * @param tMonitor 设备资产 |
| | | * @return 结果 |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 修改设备资产 |
| | | * |
| | | * |
| | | * @param tMonitor 设备资产 |
| | | * @return 结果 |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 删除设备资产 |
| | | * |
| | | * |
| | | * @param id 设备资产主键 |
| | | * @return 结果 |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 批量删除设备资产 |
| | | * |
| | | * |
| | | * @param ids 需要删除的数据主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteTMonitorByIds(Long[] ids); |
| | | |
| | | /** |
| | | * 获取视频统计 |
| | | * @param cameraFunType 类型 |
| | | * @return 统计数 |
| | | */ |
| | | Map<String, String> getVideoCount(String cameraFunType); |
| | | |
| | | Map<String, String> recoveryException(); |
| | | } |