| | |
| | | |
| | | import java.util.List; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.common.annotation.DataScope; |
| | | import com.ruoyi.device.camera.domain.ArdCameras; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | |
| | | * @param ardCameras 相机设备 |
| | | * @return 相机设备集合 |
| | | */ |
| | | @DataScope(deptAlias = "d") |
| | | public List<ArdCameras> selectArdCamerasList(ArdCameras ardCameras); |
| | | /** |
| | | * 查询相机设备列表(不过滤) |
| | |
| | | where dept_id = #{deptId}
|
| | | </select>
|
| | | <select id="checkCameraIpAndPortUnique" resultMap="ArdCamerasResult">
|
| | | select * from ard_cameras where ip=#{ip} and port=#{port} limit 1
|
| | | select *
|
| | | from ard_cameras
|
| | | where ip = #{ip}
|
| | | and port = #{port} limit 1
|
| | | </select>
|
| | | </mapper> |