CostDepartmentProfitMapper.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. package com.kcim.dao.mapper;
  2. import com.kcim.dao.model.CostDepartmentProfit;
  3. import com.kcim.vo.CostProfitVo;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * 科室损益计算
  9. *
  10. * @author KCYG
  11. * @date 2021-08-24 16:24:08
  12. */
  13. @Mapper
  14. public interface CostDepartmentProfitMapper extends GenericBatchMapper<CostDepartmentProfit> {
  15. Integer getMaxYear(@Param("hospId") Long hospId);
  16. Integer getMaxMonth(@Param("hospId") Long hospId, @Param("year") Integer year);
  17. List<CostProfitVo> getAnnualSummaryByYearRange(@Param("startYear") Integer startYear,
  18. @Param("endYear") Integer endYear,
  19. @Param("hospId") Long hospId,
  20. @Param("reportType") Integer reportType,
  21. @Param("responsibilityCode") String responsibilityCode);
  22. List<CostProfitVo> getAnnualSummaryByYear(@Param("year") Integer year,
  23. @Param("hospId") Long hospId,
  24. @Param("reportType") Integer reportType,
  25. @Param("responsibilityCode") String responsibilityCode);
  26. }