CostDepartmentProfitService.java 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. package com.kcim.service;
  2. import cn.hutool.poi.excel.ExcelWriter;
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import com.kcim.common.util.PageUtils;
  5. import com.kcim.dao.model.CostDepartmentProfit;
  6. import org.apache.poi.ss.usermodel.Sheet;
  7. import java.util.List;
  8. /**
  9. * 科室损益计算
  10. *
  11. * @author KCYG
  12. * @email KCYG@xinxicom
  13. * @date 2021-08-24 16:24:08
  14. */
  15. public interface CostDepartmentProfitService extends IService<CostDepartmentProfit> {
  16. /**
  17. * 查询科室损益数据
  18. * @param current
  19. * @param pageSize
  20. * @param responsibilityCode
  21. * @param date
  22. * @param hospId
  23. * @return
  24. */
  25. PageUtils queryList(Integer current, Integer pageSize, String responsibilityCode, String date, Long hospId);
  26. /**
  27. * 科室损益计算
  28. * @param date
  29. * @param hospId
  30. */
  31. void setDepartmentProfit(String date, Long hospId);
  32. /**
  33. * 科室损益计算导出
  34. * @param writer
  35. * @param sheet
  36. * @param date
  37. */
  38. void getDepartmentProfit(ExcelWriter writer, Sheet sheet, String date);
  39. /**
  40. * 科室损益计算导出
  41. * @param date
  42. * @param hospId
  43. * @param reportType
  44. */
  45. void getDepartProfitReport(String date, Long hospId, Integer reportType) throws Exception;
  46. /**
  47. * 删除科室损益数据
  48. * @param asList
  49. */
  50. void deleteByIds(List<Long> asList);
  51. void computeProfit(String computeDate, Long hospId, String reportType);
  52. Object computeProfitReport(String computeDate, Long hospId, String reportType);
  53. Object getProfitResponsibility(String reportType, String responsibilityName);
  54. Object getComputeProfitList(String computeDate, Long hospId, String reportType, String responsibilityCode);
  55. Object getLastComputeDate();
  56. Object getBatchComputeProfitList(String beginComputeDate, String endComputeDate, Long hospId, String reportType, String responsibilityCode);
  57. Object getRedirectData(String computeDate, Long reportId, Long hospId, String reportType, String responsibilityCode);
  58. Object getComputeProfitCollect(String computeDate, Long hospId, String reportType);
  59. Object getBatchComputeProfitListByYear(String startYear, String endYear, String reportType, String responsibilityCode);
  60. }