/*
 * 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.CameraUser;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 *
 * @author Administrator
 */
public interface Tbl_Camera_User_Mapper {

    /**
     * 根据用户信息获取绑定的摄像头列表
     *
     * @param userid
     * @return
     */
    @Select("select user_id,camera_id,is_master,show_name,is_look,is_live,create_time,update_time from tbl_camera_user where user_id=#{userid}")
    List<CameraUser> getCameraUserListByUserId(@Param("userid") Integer userid);

}
