package com.pcloud.book.group.dao;


import com.pcloud.book.group.entity.ResourceRecomManage;
import com.pcloud.common.core.dao.BaseDao;

import java.util.List;
import java.util.Map;

/**
 * 资源页推荐资源管理(ResourceRecomManage)表数据库访问层
 *
 * @author makejava
 * @since 2021-07-09 14:39:21
 */
public interface ResourceRecomManageDao extends BaseDao<ResourceRecomManage>{


    void deleteByServe(Long serveId, String serveType, Integer sourceFrom);

    Map<Long,ResourceRecomManage> mapResourceRecomManage(List<Long> serveIds, String serveType, Integer sourceFrom);
}