package com.pcloud.book.push.dao;

import com.pcloud.book.push.entity.PushNewsRecord;
import com.pcloud.common.core.dao.BaseDao;

import java.util.List;

public interface PushNewsRecordDao extends BaseDao<PushNewsRecord> {
    /**
     * 根据微信群id集合查询发送记录
     * @param weixinGroupIds
     * @return
     */
    List<PushNewsRecord> getListByGroupIds(List<String> weixinGroupIds);

    /**
     * 批量新增
     * @param pushNewsRecords
     */
    void batchInsert(List<PushNewsRecord> pushNewsRecords);
}
