package com.fs.user.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.user.domain.FsUserComplaintMsg;

/**
 * 投诉消息记录Mapper接口
 * 
 * @author fs
 * @date 2025-09-08
 */
public interface FsUserComplaintMsgMapper extends BaseMapper<FsUserComplaintMsg>{
    /**
     * 查询投诉消息记录
     * 
     * @param id 投诉消息记录主键
     * @return 投诉消息记录
     */
    FsUserComplaintMsg selectFsUserComplaintMsgById(Long id);

    /**
     * 查询投诉消息记录列表
     * 
     * @param fsUserComplaintMsg 投诉消息记录
     * @return 投诉消息记录集合
     */
    List<FsUserComplaintMsg> selectFsUserComplaintMsgList(FsUserComplaintMsg fsUserComplaintMsg);

    /**
     * 新增投诉消息记录
     * 
     * @param fsUserComplaintMsg 投诉消息记录
     * @return 结果
     */
    int insertFsUserComplaintMsg(FsUserComplaintMsg fsUserComplaintMsg);

    /**
     * 修改投诉消息记录
     * 
     * @param fsUserComplaintMsg 投诉消息记录
     * @return 结果
     */
    int updateFsUserComplaintMsg(FsUserComplaintMsg fsUserComplaintMsg);

    /**
     * 删除投诉消息记录
     * 
     * @param id 投诉消息记录主键
     * @return 结果
     */
    int deleteFsUserComplaintMsgById(Long id);

    /**
     * 批量删除投诉消息记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteFsUserComplaintMsgByIds(Long[] ids);
}
