package com.imed.costaccount.service; import com.baomidou.mybatisplus.extension.service.IService; import com.imed.costaccount.common.util.PageUtils; import com.imed.costaccount.model.IncomeCollection; /** * 归集后列表 * * @author huangrui * @email * @date 2021-08-09 15:26:28 */ public interface IncomeCollectionService extends IService { /** * 获取收入归集分页列表 * * @param current 当前页 * @param pageSize 页码数据大小 * @param date 日期 yyyy-MM-dd * @param hospId 医院id * @return {@link PageUtils} 分页对象 */ PageUtils getCollections(Integer current, Integer pageSize, String date, Long hospId); /** * 按年月归集数据 * * @param year 年 数字类型 * @param month 月 数字 * @param hospId 医院id */ void collect(Integer year, Integer month, Long hospId); /** * 按年月撤销归集 * * @param year 年 数字类型 * @param month 月 数字 * @param hospId 医院id */ void cancelCollect(Integer year, Integer month, Long hospId); }