package com.pcloud.book.pcloudkeyword.dao;

import com.pcloud.book.pcloudkeyword.entity.PcloudRobotWelcome;
import com.pcloud.common.core.dao.BaseDao;

import java.util.List;

public interface PcloudRobotWelcomeDao extends BaseDao<PcloudRobotWelcome> {

    List<PcloudRobotWelcome> getRobotWelcomeListByPcloudRobotId(Long pcloudRobotId);

    void deleteByPcloudRobotId(Long pcloudRobotId);

    void batchInsert(List<PcloudRobotWelcome> robotWelcomeList);

    List<PcloudRobotWelcome> getRobotWelcomeListByPcloudClassifyId(Long pcloudClassifyId,Integer robotType);

    void deleteByPcloudClassifyId(Long pcloudClassifyId,Integer robotType);
}
