12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- package com.imed.costaccount.mapper;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.imed.costaccount.model.CostIncomeGroup;
- import com.imed.costaccount.model.vo.CollectionVO;
- import com.imed.costaccount.model.vo.CostIncomeGroupAllAmountBO;
- import com.imed.costaccount.model.vo.CostIncomeGroupAllAmountVO;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- /**
- * 收入归集
- *
- * @author KCYG
- * @date 2021-08-03 16:15:20
- */
- @Mapper
- public interface CostIncomeGroupMapper extends BaseMapper<CostIncomeGroup> {
- /**
- * 按照开单科室 执行科室 成本项目进行筛选相同的金额汇总
- *
- * @param idList
- * @return
- */
- List<CostIncomeGroupAllAmountVO> countMoney(@Param("idList") List<Long> idList);
- /**
- * 获取收入归集分页列表
- *
- * @param startIndex 起始页
- * @param pageSize 页码数据大小
- * @param date 日期 yyyy-MM-dd
- * @param hospId 医院id
- * @return {@link CollectionVO}
- */
- List<CollectionVO> getCollections(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize,
- @Param("date") String date, @Param("hospId") Long hospId);
- /**
- * 获取收入归集分页列表
- *
- * @param date 日期 yyyy-MM-dd
- * @param hospId 医院id
- * @return 获取收入归集分页列表的总数
- */
- int getCollectionCount(@Param("date") String date, @Param("hospId") Long hospId);
- List<CostIncomeGroupAllAmountBO> selectListAndMoney(@Param("year") Integer year, @Param("month") Integer month, @Param("hospId") Long hospId);
- }
|