package com.ruoyi.frequency.platformanswer.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.frequency.platformanswer.entity.PlatformAnswer;

/**
 * 平台有问必答Mapper接口
 * 
 * @author liwenlong
 * @date 2024-01-24
 */
public interface PlatformAnswerMapper  extends BaseMapper<PlatformAnswer>
{
    /**
     * 查询平台有问必答
     * 
     * @param id 平台有问必答主键
     * @return 平台有问必答
     */
    public PlatformAnswer selectPlatformAnswerById(Long id);

    /**
     * 查询平台有问必答列表
     * 
     * @param platformAnswer 平台有问必答
     * @return 平台有问必答集合
     */
    public List<PlatformAnswer> selectPlatformAnswerList(PlatformAnswer platformAnswer);

    /**
     * 新增平台有问必答
     * 
     * @param platformAnswer 平台有问必答
     * @return 结果
     */
    public int insertPlatformAnswer(PlatformAnswer platformAnswer);

    /**
     * 修改平台有问必答
     * 
     * @param platformAnswer 平台有问必答
     * @return 结果
     */
    public int updatePlatformAnswer(PlatformAnswer platformAnswer);

}
