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

import com.pcloud.book.adnews.dao.AdNewsGroupRecordDao;
import com.pcloud.book.adnews.entity.AdNewsGroupRecord;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description
 * @Author ruansiyuan
 * @Date 2019/7/17 16:18
 **/
@Repository("adNewsGroupRecordDao")
public class AdNewsGroupRecordDaoImpl extends BaseDaoImpl<AdNewsGroupRecord> implements AdNewsGroupRecordDao {
    @Override
    public Integer batchInsert(List<AdNewsGroupRecord> list) {
        return super.getSqlSession().insert(getStatement("batchInsert"), list);
    }
}
