| | |
| | | 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.MapKey; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | |
| | |
| | | */ |
| | | public ArdCameras checkCameraIpAndPortUnique(@Param("ip") String ip, @Param("port")Integer port); |
| | | |
| | | public List<Map<String, Object>> getCamerasByDeptId(@Param("deptId")Long deptId,@Param("userId")String userId); |
| | | public List<Map<String, Object>> getCamerasByDeptId(@Param("deptIdList")List<Long> deptIdList,@Param("userId")String userId); |
| | | |
| | | public Boolean getCameraOperationByCameraId(@Param("id") String id, @Param("userId") String userId); |
| | | |
| | | public List<Map<String, Object>> getChannelByCameraId(String id); |
| | | |
| | | public List<ArdCameras> findTowerCamerasBySubAndOwnDeptIds(@Param("deptIdList")List<Long> deptIdList); |
| | | |
| | | /** |
| | | * @Author 刘苏义 |
| | | * @Description 重置所有相机登录id为-1 |
| | | * @Date 2024/7/17 10:17 |
| | | * @Param |
| | | * @return |
| | | */ |
| | | public int resetCameraLoginId(); |
| | | } |