package com.zbkj.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zbkj.common.model.bill.PlatformDailyStatement;
import com.zbkj.common.request.PageParamRequest;

import java.util.List;

/**
*  PlatformDailyStatementService 接口
*  +----------------------------------------------------------------------
*  | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
*  +----------------------------------------------------------------------
*  | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
*  +----------------------------------------------------------------------
*  | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
*  +----------------------------------------------------------------------
*  | Author: CRMEB Team <admin@crmeb.com>
*  +----------------------------------------------------------------------
*/
public interface PlatformDailyStatementService extends IService<PlatformDailyStatement> {

    /**
     * 通过日期获取记录
     * @param date 日期：年-月-日
     */
    PlatformDailyStatement getByDate(String date);

    /**
     * 通过月份获取所有记录
     * @param month 月份：年-月
     * @return List
     */
    List<PlatformDailyStatement> findByMonth(String month);

    /**
     * 分页列表
     * @param dateLimit 时间参数
     * @param pageParamRequest 分页参数
     * @return PageInfo
     */
    PageInfo<PlatformDailyStatement> getPageList(String dateLimit, PageParamRequest pageParamRequest);
}