package com.imed.costaccount.service; import com.baomidou.mybatisplus.extension.service.IService; import com.imed.costaccount.model.AllocationQuery; import com.imed.costaccount.model.vo.CodeAndNameVO; import java.math.BigDecimal; import java.util.List; /** * * * @author huangrui * @email * @date 2021-08-26 08:51:45 */ public interface AllocationQueryService extends IService { /** * 这个月总金额 * @param dateYear * @param month * @param hospId * @return */ BigDecimal getTotalMoney(int dateYear, int month, Long hospId); List getRespCodeAndName(Long hospId, int dateYear, int month); List getAccountCodeAndName(Long hospId, int dateYear, int month); BigDecimal getCountByRespAndAccounts(Long hospId, int dateYear, int month, String code, List accountCodes); BigDecimal getTotalByAccountAndResps(Long hospId, int dateYear, int month, String code, List respCodes); BigDecimal getTotalByAccountAndRespCode(Long hospId, int dateYear, int month, String accountCode, String responsibilityCode); /** * 获取这个月的分摊数据 * @param hospId 医院id * @param year 年 * @param month 月 * @return 分摊数据查询 */ List getAllByDate(Long hospId, int year, int month); }