package com.pcloud.book.applet.biz;

import com.pcloud.book.applet.dto.AppletThirdResourcesStaticDTO;
import com.pcloud.book.applet.entity.AppletThirdResourcesChoose;
import com.pcloud.common.page.PageBeanNew;

/**
 * (AppletThirdResourcesChoose)表服务接口
 *
 * @author makejava
 * @since 2020-10-14 16:22:28
 */
public interface AppletThirdResourcesChooseBiz {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    AppletThirdResourcesChoose getById(Long id);

    /**
     * 分页查询
     */
    PageBeanNew getList(Integer currentPage, Integer numPerPage);

    /**
     * 新增数据
     *
     * @param appletThirdResourcesChoose 实例对象
     * @return 主键
     */
    Long insert(AppletThirdResourcesChoose appletThirdResourcesChoose);

    /**
     * 修改数据
     *
     * @param appletThirdResourcesChoose 实例对象
     */
    void update(AppletThirdResourcesChoose appletThirdResourcesChoose);

    /**
     * 通过主键删除数据
     *
     * @param id 主键
     * @return 是否成功
     */
    void deleteById(Long id);

    /**
     * 查询统计数据
     * @param currentPage
     * @param numPerPage
     * @param source
     * @param keyValue
     * @param queryDate
     * @return
     */
    PageBeanNew<AppletThirdResourcesStaticDTO> getListThirdResourcesStatic(Integer currentPage, Integer numPerPage, String source, String keyValue, String queryDate);

    /**
     * 导出统计数据
     * @param currentPage
     * @param numPerPage
     * @param source
     * @param keyValue
     * @param queryDate
     * @param partyId
     */
    void exportListThirdResourcesStatic(Integer currentPage, Integer numPerPage, String source, String keyValue, String queryDate, Long partyId);
}