HospProfitAndLossService.java 1.3 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.HospProfitAndLoss;
  5. import javax.servlet.http.HttpServletResponse;
  6. /**
  7. * 全院损益表
  8. *
  9. * @author huangrui
  10. * @email
  11. * @date 2021-08-27 14:20:53
  12. */
  13. public interface HospProfitAndLossService extends IService<HospProfitAndLoss> {
  14. /**
  15. * 计算全院损益
  16. *
  17. * @param date yyyy-MM-dd 时间
  18. * @param hospId 医院id
  19. */
  20. void calc(String date, Long hospId);
  21. /**
  22. * 全院损益列表
  23. *
  24. * @param current 当前页
  25. * @param pageSize 每页展示数据大小
  26. * @param date 日期
  27. * @param hospId 医院id
  28. * @return PageUtils
  29. */
  30. PageUtils getHospProfits(Integer current, Integer pageSize, String date, Long hospId);
  31. /**
  32. * 导出全院损益计算
  33. * @param date yyyy-MM-dd
  34. * @param hospId
  35. * @param response
  36. */
  37. void hospProfitReport(String date, Long hospId, HttpServletResponse response);
  38. /**
  39. *
  40. * @param date
  41. * @param hospId
  42. */
  43. void calcByResponsibility(String date, Long hospId);
  44. PageUtils hospProfitReports(Integer current, Integer pageSize, Long hospId);
  45. }