|  |  |  | 
|---|
|  |  |  | package com.moral.api.mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | import com.moral.api.entity.Device; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.moral.api.pojo.vo.device.DeviceVO; | 
|---|
|  |  |  | import io.lettuce.core.dynamic.annotation.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * <p> | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public interface DeviceMapper extends BaseMapper<Device> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | IPage<DeviceVO> selectAllDeviceInfo(Page<DeviceVO> page, @Param("ew") QueryWrapper<DeviceVO> queryWrapper); | 
|---|
|  |  |  | DeviceVO selectDeviceInfoById(Integer deviceId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Device> queryDeviceUnitAlarmInfo(@Param("region") String mac); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|