吉安感知网项目-后端
rain
2026-01-13 f0ad850a7a962dcf53c6c88e31de4bc2b1e20457
drone-service/drone-fw/src/main/java/org/sxkj/fw/device/mapper/FwDeviceMapper.java
@@ -16,7 +16,11 @@
 */
package org.sxkj.fw.device.mapper;
import org.sxkj.fw.cockpit.vo.AlarmStatisticsVO;
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.vo.CockpitFwDeviceVO;
import org.sxkj.fw.device.vo.FwDeviceVO;
import org.sxkj.fw.device.excel.FwDeviceExcel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
@@ -26,10 +30,10 @@
import java.util.List;
/**
 * 反无设备表 Mapper 接口
 * 设备表 Mapper 接口
 *
 * @author AIX
 * @since 2026-01-06
 * @author aix
 * @since 2026-01-08
 */
public interface FwDeviceMapper extends BaseMapper<FwDeviceEntity> {
@@ -40,7 +44,16 @@
    * @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);
   /**
@@ -51,4 +64,23 @@
    */
   List<FwDeviceExcel> exportFwDevice(@Param("ew") Wrapper<FwDeviceEntity> queryWrapper);
   /**
    * 设备统计
    * @return
    */
   List<DeviceStatisticsVO> statisticalDeviceType();
   /**
    * 告警统计
    * @return
    */
   AlarmStatisticsVO statisticalDeviceAtt();
   /**
    * 获取设备列表
    * @param page
    * @param fwDevice
    * @return
    */
   List<CockpitFwDeviceVO> selectCockpitDevicePage(IPage<CockpitFwDeviceVO> page, FwDeviceDTO fwDevice);
}