济菏高速数据中心代码
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.

57 lines
2.1 KiB

package com.zc.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zc.business.domain.DcDevice;
2 months ago
import com.zc.business.domain.DcDoor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
11 months ago
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();
11 months ago
//设备查询-设备名称列表
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);
6 months ago
//获取收费站摄像头
List<DcDevice> selectTollStationCamPile(@Param("direction") String direction,@Param("startMileage") String startMileage,@Param("endMileage") String endMileage);
//获取设备信息
DcDevice getDcDeviceById(@Param("iotDeviceId") String iotDeviceId);
2 months ago
//新增电子门锁记录
Integer insertDoorMonitor(DcDoor dcDoor);
//查询电子门锁记录
List<DcDoor> selectDcDoorList(DcDoor dcDoor);
//查询状态为开的设备
List<DcDoor> selectDcDoorOpen(@Param("iotIds")Set<String> strings);
}