package com.pcloud.book.rightsSetting.dao.impl;

import com.pcloud.book.rightsSetting.entity.RightsSettingItemDetail;
import com.pcloud.book.rightsSetting.dao.RightsSettingItemDetailDao;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * (RightsSettingItemDetail)表数据库访问层
 *
 * @author makejava
 * @since 2020-05-18 22:28:12
 */
@Repository("rightsSettingItemDetailDaoImpl")
public class RightsSettingItemDetailDaoImpl extends BaseDaoImpl<RightsSettingItemDetail> implements RightsSettingItemDetailDao {

    @Override
    public void deleteByItemIds(List<Long> list) {
        this.getSqlSession().delete(getStatement("deleteByItemIds"), list);
    }

    @Override
    public List<RightsSettingItemDetail> getByItemIds(List<Long> list) {
        return this.getSqlSession().selectList(getStatement("getByItemIds"), list);
    }
}