| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 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<AllocationQuery> {
- /**
- * 这个月总金额
- * @param dateYear
- * @param month
- * @param hospId
- * @return
- */
- BigDecimal getTotalMoney(int dateYear, int month, Long hospId);
- List<CodeAndNameVO> getRespCodeAndName(Long hospId, int dateYear, int month);
- List<CodeAndNameVO> getAccountCodeAndName(Long hospId, int dateYear, int month);
- BigDecimal getCountByRespAndAccounts(Long hospId, int dateYear, int month, String code, List<String> accountCodes);
- BigDecimal getTotalByAccountAndResps(Long hospId, int dateYear, int month, String code, List<String> respCodes);
- BigDecimal getTotalByAccountAndRespCode(Long hospId, int dateYear, int month, String accountCode, String responsibilityCode);
- /**
- * 获取这个月的分摊数据
- * @param hospId 医院id
- * @param year 年
- * @param month 月
- * @return 分摊数据查询
- */
- List<AllocationQuery> getAllByDate(Long hospId, int year, int month);
- }
|