| | |
| | | */ |
| | | package org.sxkj.fw.device.mapper; |
| | | |
| | | import org.sxkj.fw.device.entity.FwDeviceEntity; |
| | | import org.sxkj.fw.device.vo.FwDeviceVO; |
| | | import org.sxkj.fw.device.excel.FwDeviceExcel; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.sxkj.fw.cockpit.vo.AlarmStatisticsVO; |
| | | import org.sxkj.fw.device.vo.DeviceTypeStatisticsVO; |
| | | import org.sxkj.fw.cockpit.vo.DeviceStatisticsVO; |
| | | import org.sxkj.fw.device.dto.FwDeviceDTO; |
| | | import org.sxkj.fw.device.entity.FwDeviceEntity; |
| | | import org.sxkj.fw.device.excel.FwDeviceExcel; |
| | | import org.sxkj.fw.device.vo.CockpitFwDeviceVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 反无设备表 Mapper 接口 |
| | | * 设备表 Mapper 接口 |
| | | * |
| | | * @author AIX |
| | | * @since 2026-01-06 |
| | | * @author aix |
| | | * @since 2026-01-08 |
| | | */ |
| | | public interface FwDeviceMapper extends BaseMapper<FwDeviceEntity> { |
| | | |
| | |
| | | * @param fwDevice |
| | | * @return |
| | | */ |
| | | List<FwDeviceVO> selectFwDevicePage(IPage page, FwDeviceVO fwDevice); |
| | | List<FwDeviceEntity> selectFwDevicePage(IPage page, FwDeviceDTO fwDevice); |
| | | |
| | | /** |
| | | * 列表查询 |
| | | * |
| | | * @param isAreaSelect |
| | | * @param areaId |
| | | * @return |
| | | */ |
| | | List<FwDeviceEntity> selectFwDeviceList(@Param("isAreaSelect") Integer isAreaSelect, @Param("areaId") Long areaId, |
| | | @Param("status") Integer status, @Param("isTrack") Integer isTrack); |
| | | |
| | | |
| | | /** |
| | | * 获取导出数据 |
| | | * |
| | | * @param queryWrapper |
| | | * @return |
| | | */ |
| | | List<FwDeviceExcel> exportFwDevice(@Param("ew") Wrapper<FwDeviceEntity> queryWrapper); |
| | | |
| | | /** |
| | | * 设备统计 - 驾驶舱使用 |
| | | * @return 统计数据 |
| | | */ |
| | | List<DeviceStatisticsVO> statisticalDeviceType(); |
| | | |
| | | /** |
| | | * 设备统计 - 按类型统计 |
| | | * @return 统计数据 |
| | | */ |
| | | List<DeviceTypeStatisticsVO> getDeviceTypeStatistics(); |
| | | |
| | | /** |
| | | * 设备出库去向统计 |
| | | * @return 统计数据 |
| | | */ |
| | | List<DeviceStatisticsVO> getDeviceOutStatistics(String effectiveRangeKmIsNotNull); |
| | | |
| | | /** |
| | | * 设备生产厂商统计 |
| | | * @return 统计数据 |
| | | */ |
| | | List<DeviceStatisticsVO> getDeviceManufacturerStatistics(); |
| | | |
| | | /** |
| | | * 告警统计 |
| | | * @return |
| | | */ |
| | | AlarmStatisticsVO statisticalDeviceAtt(); |
| | | |
| | | /** |
| | | * 获取设备列表 |
| | | * @param page |
| | | * @param fwDevice |
| | | * @return |
| | | */ |
| | | List<CockpitFwDeviceVO> selectCockpitDevicePage(IPage<CockpitFwDeviceVO> page, FwDeviceDTO fwDevice); |
| | | } |