IncomeCollectionService.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. /**
  6. * 归集后列表
  7. *
  8. * @author huangrui
  9. * @email
  10. * @date 2021-08-09 15:26:28
  11. */
  12. public interface IncomeCollectionService extends IService<IncomeCollection> {
  13. /**
  14. * 获取收入归集分页列表
  15. *
  16. * @param current 当前页
  17. * @param pageSize 页码数据大小
  18. * @param date 日期 yyyy-MM-dd
  19. * @param hospId 医院id
  20. * @return {@link PageUtils} 分页对象
  21. */
  22. PageUtils getCollections(Integer current, Integer pageSize, String date, Long hospId);
  23. /**
  24. * 按年月归集数据
  25. *
  26. * @param year 年 数字类型
  27. * @param month 月 数字
  28. * @param hospId 医院id
  29. */
  30. void collect(Integer year, Integer month, Long hospId);
  31. /**
  32. * 按年月撤销归集
  33. *
  34. * @param year 年 数字类型
  35. * @param month 月 数字
  36. * @param hospId 医院id
  37. */
  38. void cancelCollect(Integer year, Integer month, Long hospId);
  39. }