/*
* Copyright (c) 京北方信息技术股份有限公司 Corporation 2022 . All rights reserved.
*
*/
package net.northking.cctp.dataPool.db.dao;

import feign.Param;
import net.northking.cctp.common.http.QueryByPage;
import net.northking.cctp.dataPool.db.entity.DataResourcePackage;
import net.northking.cctp.dataPool.db.mapper.DataResourcePackageMapper;
import net.northking.cctp.dataPool.dto.dataRule.DataResourcePackageDetailDto;
import net.northking.cctp.dataPool.dto.dataRule.DataResourcePackageQueryDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Mybatis数据库持久层（业务层）：资源包
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2022-10-24 16:58:38  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Repository
public interface DataResourcePackageDao extends DataResourcePackageMapper
{
    /**
     * 条件查询资源包列表
     * @param queryByPage
     * @return
     */
    List<DataResourcePackageDetailDto> getDataResourcePackages(@Param("query") QueryByPage<DataResourcePackageQueryDto> queryByPage);

    /**
     * 根据id列表查询资源包
     * @param idList
     * @return
     */
    List<DataResourcePackage> queryByIds(@Param("list") List<String> idList);

    // ----      The End by Generator     ----//

}
