| | |
| | | package com.ycl.platform.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.ycl.platform.domain.entity.TMonitor; |
| | | import com.ycl.platform.domain.query.DashboardQuery; |
| | | import com.ycl.platform.domain.query.DataCenterQuery; |
| | | import com.ycl.platform.domain.query.HomeQuery; |
| | | import com.ycl.platform.domain.vo.TMonitorVO; |
| | | import com.ycl.platform.domain.vo.screen.MonitorRateVO; |
| | | import com.ycl.platform.domain.vo.screen.MonitorTotalVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | * @author ruoyi |
| | | * @date 2024-03-04 |
| | | */ |
| | | @Mapper |
| | | public interface TMonitorMapper extends BaseMapper<TMonitor> |
| | | { |
| | | /** |
| | |
| | | */ |
| | | public List<TMonitorVO> selectTMonitorList(TMonitorVO tMonitor); |
| | | |
| | | /** |
| | | * 查询设备资产列表 |
| | | * |
| | | * @param tMonitor 设备资产 |
| | | * @return 设备资产集合 |
| | | */ |
| | | public List<TMonitorVO> selectMonitorVOList(); |
| | | /** |
| | | * 新增设备资产 |
| | | * |
| | |
| | | List<Map<String, Object>> home(HomeQuery monitorQuery); |
| | | |
| | | List<TMonitorVO> selectListByIds(List<String> list); |
| | | |
| | | /** |
| | | * 大屏设备总数 |
| | | * @param dashboardQuery 查询条件 |
| | | * @return 数据 |
| | | */ |
| | | List<MonitorTotalVO> monitorTotal(DashboardQuery dashboardQuery); |
| | | |
| | | /** |
| | | * 大屏设备正常率 |
| | | * @return 数据 |
| | | */ |
| | | List<MonitorRateVO> monitorRate(DashboardQuery dashboardQuery); |
| | | |
| | | /** |
| | | * 数据中心-资产管理 |
| | | * |
| | | * @param query |
| | | */ |
| | | IPage assetManagement(IPage<TMonitorVO> page, @Param("query") DataCenterQuery query); |
| | | |
| | | |
| | | void deleteAll(); |
| | | |
| | | /** |
| | | * 批量修改设备厂商类型 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int batchUpdateDeviceType(@Param("numbers") List<String> list,@Param("deviceType") Integer deviceType); |
| | | |
| | | List<TMonitor> selectByNumbers(@Param("numbers")List<String> numbers); |
| | | |
| | | /** |
| | | * 国标码查国标码 |
| | | * |
| | | * @param gbList |
| | | * @return |
| | | */ |
| | | List<String> getGBbyGB(@Param("gbList") List<String> gbList); |
| | | } |