package com.storlead.sales.mapper.customer;

import com.storlead.sales.pojo.entity.customer.RecordCommentEntity;
import com.storlead.framework.mybatis.mapper.MyBaseMapper;
import com.storlead.sales.pojo.vo.customer.RecordCommentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 通用评论表 Mapper 接口
 * </p>
 *
 * @author YPZ
 * @since 2024-05-16
 */
public interface RecordCommentMapper extends MyBaseMapper<RecordCommentEntity> {

    List<RecordCommentVO> getChildComment(@Param("recordParentIds") List<Long> recordParentIds);

    void removeByParentid(Long id);
}
