package com.ruoyi.system.mapper;

import java.math.BigDecimal;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.PosOrder;
import com.ruoyi.system.domain.VideoCall;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * VideoCallMapper接口
 * 
 * @author ruoyi
 * @date 2024-03-05
 */
public interface VideoCallMapper  extends BaseMapper<VideoCall>
{
    //查询发起人
    @Select("SELECT * FROM video_call where user_id=#{usid}")
    List<VideoCall> getfaqius(@Param("usid") Long usid);

    /**
     * 查询VideoCall
     * 
     * @param id VideoCall主键
     * @return VideoCall
     */
    public VideoCall selectVideoCallById(Long id);

    /**
     * 查询VideoCall列表
     * 
     * @param videoCall VideoCall
     * @return VideoCall集合
     */
    public List<VideoCall> selectVideoCallList(VideoCall videoCall);

    /**
     * 新增VideoCall
     * 
     * @param videoCall VideoCall
     * @return 结果
     */
    public int insertVideoCall(VideoCall videoCall);

    /**
     * 修改VideoCall
     * 
     * @param videoCall VideoCall
     * @return 结果
     */
    public int updateVideoCall(VideoCall videoCall);

    /**
     * 删除VideoCall
     * 
     * @param id VideoCall主键
     * @return 结果
     */
    public int deleteVideoCallById(Long id);

    /**
     * 批量删除VideoCall
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteVideoCallByIds(Long[] ids);
}
