package com.zc.business.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.zc.business.domain.DcDevice; import com.zc.business.domain.DcDoor; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; /** * 设备Mapper接口 * * @author zhaoxianglong */ @Mapper public interface DcDeviceMapper extends BaseMapper { List selectDcDeviceList(DcDevice dcDevice); List numberOfDevicesByType(DcDevice dcDevice); List numberOfDevicesByType(); List selectNearCamPile(@Param("direction") String direction,@Param("startMileage") String startMileage,@Param("endMileage") String endMileage); List selectNearBoard(@Param("direction") String direction,@Param("startMileage") Integer startMileage,@Param("endMileage") Integer endMileage); List> countTheNumberOfEligibleItems(); //设备查询-设备名称列表 public List> selectDeviceNameList(DcDevice dcDevice); //设备查询-设备参数属性列表 public List> selectDeviceParameterProperties(DcDevice dcDevice); int selectDeviceNumber(); public List> selectDeviceOfRoad(); //收费站摄像头 List selectDeviceTollStationCamera(); //同步收费站摄像头状态 Integer updateTollStationCameraStatus(DcDevice dcDevice); //获取收费站摄像头 List selectTollStationCamPile(@Param("direction") String direction,@Param("startMileage") String startMileage,@Param("endMileage") String endMileage); //获取设备信息 DcDevice getDcDeviceById(@Param("iotDeviceId") String iotDeviceId); //新增电子门锁记录 Integer insertDoorMonitor(DcDoor dcDoor); //查询电子门锁记录 List selectDcDoorList(DcDoor dcDoor); //查询状态为开的设备 List selectDcDoorOpen(@Param("iotIds")Set strings); }