IncomeCollectionService.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package com.imed.costaccount.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.imed.costaccount.common.util.PageUtils;
  4. import com.imed.costaccount.model.IncomeCollection;
  5. import com.imed.costaccount.model.dto.CollectDTO;
  6. /**
  7. * 归集后列表
  8. *
  9. * @author huangrui
  10. * @email
  11. * @date 2021-08-09 15:26:28
  12. */
  13. public interface IncomeCollectionService extends IService<IncomeCollection> {
  14. /**
  15. * 获取收入归集分页列表
  16. *
  17. * @param current 当前页
  18. * @param pageSize 页码数据大小
  19. * @param date 日期 yyyy-MM-dd
  20. * @param hospId 医院id
  21. * @return {@link PageUtils} 分页对象
  22. */
  23. PageUtils getCollections(Integer current, Integer pageSize, String date, Long hospId);
  24. /**
  25. * 按年月归集数据
  26. *
  27. * @param year 年 数字类型
  28. * @param month 月 数字
  29. * @param hospId 医院id
  30. */
  31. void collect(Integer year, Integer month, Long hospId);
  32. /**
  33. * 按年月撤销归集
  34. *
  35. * @param year 年 数字类型
  36. * @param month 月 数字
  37. * @param hospId 医院id
  38. */
  39. void cancelCollect(Integer year, Integer month, Long hospId);
  40. /**
  41. * 归集后数据分页列表
  42. *
  43. * @param collectDTO {@link CollectDTO} 查询相关参数
  44. * @return {@link PageUtils}
  45. */
  46. PageUtils collectList(CollectDTO collectDTO);
  47. }