|
|
|
package com.zc.business.mapper;
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
import com.zc.business.domain.DcDevice;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备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);
|
|
|
|
}
|