package com.fs.live.mapper;

import com.fs.live.domain.LiveCommentPinLog;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface LiveCommentPinLogMapper {

    int insertLiveCommentPinLog(LiveCommentPinLog row);

    int updatePinLogEnd(@Param("logId") Long logId,
                        @Param("endTime") Date endTime,
                        @Param("endReason") Integer endReason);

    List<LiveCommentPinLog> selectLiveCommentPinLogList(LiveCommentPinLog query);
}
