HospProfitAndLossService.java 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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.HospProfitAndLoss;
  5. /**
  6. * 全院损益表
  7. *
  8. * @author huangrui
  9. * @email
  10. * @date 2021-08-27 14:20:53
  11. */
  12. public interface HospProfitAndLossService extends IService<HospProfitAndLoss> {
  13. /**
  14. * 计算全院损益
  15. *
  16. * @param date yyyy-MM-dd 时间
  17. * @param hospId 医院id
  18. */
  19. void calc(String date, Long hospId);
  20. /**
  21. * 计算全院损益
  22. *
  23. * @param date yyyy-MM-dd 时间
  24. * @param hospId 医院id
  25. * @param reportType 报表类型
  26. */
  27. void calcHospProfit(String date, Long hospId, Integer reportType);
  28. /**
  29. * 全院损益列表
  30. *
  31. * @param current 当前页
  32. * @param pageSize 每页展示数据大小
  33. * @param date 日期
  34. * @param hospId 医院id
  35. * @return PageUtils
  36. */
  37. PageUtils getHospProfits(Integer current, Integer pageSize, String date, Long hospId);
  38. /**
  39. * 导出全院损益计算
  40. * @param date yyyy-MM-dd
  41. * @param hospId
  42. */
  43. void hospProfitReport(String date, Long hospId) ;
  44. /**
  45. *
  46. * @param date
  47. * @param hospId
  48. */
  49. void calcByResponsibility(String date, Long hospId);
  50. PageUtils hospProfitReports(Integer current, Integer pageSize, Long hospId, String date);
  51. Object getHospProfitResponsibilities(String responsibilityName);
  52. Object getHospProfitList(String computeDate, Long hospId, String reportType);
  53. Object getBatchHospProfitList(String beginComputeDate, String endComputeDate, Long hospId, Integer reportType);
  54. }