You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.1 KiB
56 lines
2.1 KiB
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<DcDevice> {
|
|
|
|
List<DcDevice> selectDcDeviceList(DcDevice dcDevice);
|
|
List<DcDevice> numberOfDevicesByType(DcDevice dcDevice);
|
|
List<DcDevice> numberOfDevicesByType();
|
|
|
|
List<DcDevice> selectNearCamPile(@Param("direction") String direction,@Param("startMileage") String startMileage,@Param("endMileage") String endMileage);
|
|
|
|
List<DcDevice> selectNearBoard(@Param("direction") String direction,@Param("startMileage") Integer startMileage,@Param("endMileage") Integer endMileage);
|
|
|
|
List<Map<String,String>> countTheNumberOfEligibleItems();
|
|
|
|
|
|
//设备查询-设备名称列表
|
|
public List<HashMap<String,Object>> selectDeviceNameList(DcDevice dcDevice);
|
|
//设备查询-设备参数属性列表
|
|
public List<HashMap<String,Object>> selectDeviceParameterProperties(DcDevice dcDevice);
|
|
|
|
int selectDeviceNumber();
|
|
public List<Map<String,Object>> selectDeviceOfRoad();
|
|
//收费站摄像头
|
|
List<DcDevice> selectDeviceTollStationCamera();
|
|
//同步收费站摄像头状态
|
|
Integer updateTollStationCameraStatus(DcDevice dcDevice);
|
|
|
|
//获取收费站摄像头
|
|
List<DcDevice> selectTollStationCamPile(@Param("direction") String direction,@Param("startMileage") String startMileage,@Param("endMileage") String endMileage);
|
|
|
|
//获取设备信息
|
|
DcDevice getDcDeviceById(@Param("iotDeviceId") String iotDeviceId);
|
|
//新增电子门锁记录
|
|
Integer insertDoorMonitor(DcDoor dcDoor);
|
|
//查询电子门锁记录
|
|
List<DcDoor> selectDcDoorList(DcDoor dcDoor);
|
|
//查询状态为开的设备
|
|
List<DcDoor> selectDcDoorOpen(@Param("iotIds")Set<String> strings);
|
|
}
|
|
|