/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ifish.mapper;

import com.ifish.entity.Camera;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 摄像头激活信息
 *
 * @author Administrator
 */
public interface Tbl_Camera_Mapper {

    /**
     * 根据摄像头ID获取绑定信息
     *
     * @param cameraId
     * @return
     */
    @Select("select camera_id,active_code,active_time,create_time,update_time from tbl_camera where camera_id=#{id}")
    Camera getCameraById(@Param("id") String cameraId);

}
