package com.sino.mci.channel.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sino.mci.channel.entity.ConversationParticipant;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ConversationParticipantMapper extends BaseMapper<ConversationParticipant> {

    @Delete("DELETE FROM mci_conversation_participant WHERE conversation_id = #{conversationId}")
    void physicalDeleteByConversationId(Long conversationId);
}
