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


import com.pcloud.book.rightsSetting.dao.RightsCustomRelationDao;
import com.pcloud.book.rightsSetting.dao.RightsReadPlanDao;
import com.pcloud.book.rightsSetting.entity.RightsCustomRelation;
import com.pcloud.book.rightsSetting.entity.RightsReadPlan;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @Description
 * @Author zengpo
 * @Date 2020/4/27 17:44
 **/
@Component("rightsCustomRelationDao")
public class RightsCustomRelationDaoImpl extends BaseDaoImpl<RightsCustomRelation> implements RightsCustomRelationDao {

    @Override
    public List<RightsCustomRelation> getCustomByItemIds(List<Long> itemIdList) {
        return getSqlSession().selectList(getStatement("getCustomByItemIds"),itemIdList);
    }
}
