package com.platform.modules.live.dao;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.platform.modules.live.vo.LiveCommentAppVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.platform.modules.live.entity.LiveCommentEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 现场评论
 * 
 * @author weiyan
 * @email 
 * @date 2019-02-15 17:49:07
 */
@Mapper
public interface LiveCommentDao extends BaseMapper<LiveCommentEntity> {
	
	List<LiveCommentEntity> queryPageMap(Page<Map<String, Object>> page, Map<String, Object> params);
	
	LiveCommentEntity info(Integer id);

	void save(LiveCommentEntity liveComment);

    List<LiveCommentAppVo> queryCommentCheckPageByParams(@Param("sceneId") Integer sceneId, @Param("source")Integer source,@Param("text") String text,Pagination pagination);
}
