package com.pcloud.book.rightsSetting.mapper;

import com.pcloud.book.rightsSetting.entity.RightsSettingBookRelation;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RightsSettingBookRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RightsSettingBookRelation record);

    int insertSelective(RightsSettingBookRelation record);

    RightsSettingBookRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RightsSettingBookRelation record);

    int updateByPrimaryKey(RightsSettingBookRelation record);

    void batchInsert(List<RightsSettingBookRelation> rightsSettingBookRelations);

    void deleteByRightsSettingId(Long rightsSettingId);

    List<RightsSettingBookRelation> selectByRithsSettingId(Long rightsSettingId);

    List<RightsSettingBookRelation> selectBookByRithsSettingId(Long rightsSettingId);

    List<Long> getAllBookIds();
}