IncomeCollectionService.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package com.kcim.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.kcim.common.util.PageUtils;
  4. import com.kcim.dao.model.IncomeCollection;
  5. import com.kcim.dao.model.dto.CollectDTO;
  6. import com.kcim.vo.CollectDataFormVO;
  7. import java.util.List;
  8. /**
  9. * 归集后列表
  10. *
  11. * @author huangrui
  12. * @email
  13. * @date 2021-08-09 15:26:28
  14. */
  15. public interface IncomeCollectionService extends IService<IncomeCollection> {
  16. /**
  17. * 获取收入归集分页列表
  18. *
  19. * @param current 当前页
  20. * @param pageSize 页码数据大小
  21. * @param date 日期 yyyy-MM-dd
  22. * @param hospId 医院id
  23. * @return {@link PageUtils} 分页对象
  24. */
  25. PageUtils getCollections(Integer current, Integer pageSize, String date, Long hospId);
  26. /**
  27. * 按年月归集数据
  28. *
  29. * @param year 年 数字类型
  30. * @param month 月 数字
  31. * @param hospId 医院id
  32. */
  33. void collect(Integer year, Integer month, Long hospId);
  34. /**
  35. * 按年月撤销归集
  36. *
  37. * @param year 年 数字类型
  38. * @param month 月 数字
  39. * @param hospId 医院id
  40. */
  41. void cancelCollect(Integer year, Integer month, Long hospId);
  42. /**
  43. * 归集后数据分页列表
  44. *
  45. * @param collectDTO {@link CollectDTO} 查询相关参数
  46. * @return {@link PageUtils}
  47. */
  48. PageUtils collectList(CollectDTO collectDTO);
  49. /**
  50. *
  51. * @param collectDTO
  52. * @return
  53. */
  54. CollectDataFormVO collectDataForm(CollectDTO collectDTO);
  55. /**
  56. * 获取某个时间的手机数据
  57. * @param year 年
  58. * @param month 月
  59. * @param hospId 医院id
  60. * @return 收入数据
  61. */
  62. List<IncomeCollection> getCollectionsByDate(int year, int month, Long hospId);
  63. List<IncomeCollection> getCollectionsByDateAndResp(int year, int month, Long hospId, String responsibilityCode);
  64. }