CostOtherPaymentsDataService.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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.CostOtherPaymentsData;
  5. import com.imed.costaccount.model.dto.CostOtherPaymentsDataEditDto;
  6. import com.imed.costaccount.model.dto.CostOtherPaymentsDataSaveDto;
  7. import java.util.List;
  8. /**
  9. * 全院其他收支数据
  10. *
  11. * @author KCYG
  12. * @email KCYG@xinxicom
  13. * @date 2021-08-17 08:53:35
  14. */
  15. public interface CostOtherPaymentsDataService extends IService<CostOtherPaymentsData> {
  16. /**
  17. * 分页查询
  18. * @param current
  19. * @param pageSize
  20. * @param dateTime
  21. * @param hospId
  22. * @return
  23. */
  24. PageUtils queryList(Integer current, Integer pageSize, String dateTime, Long hospId);
  25. /**
  26. * 保存全院其他收支数据
  27. * @param costOtherPaymentsDataSaveDto 全院其他收支
  28. * @param hospId 医院的Id
  29. */
  30. void addOtherPaymentData(CostOtherPaymentsDataSaveDto costOtherPaymentsDataSaveDto, Long hospId);
  31. /**
  32. * 修改全院其他收支数据
  33. * @param costOtherPaymentsDataEditDto
  34. * @param hospId
  35. */
  36. void updateOtherPaymentData(CostOtherPaymentsDataEditDto costOtherPaymentsDataEditDto, Long hospId);
  37. /**
  38. * 某个月全月其他收支
  39. * @param year 年
  40. * @param month 月
  41. * @param hospId 医院id
  42. * @return
  43. */
  44. List<CostOtherPaymentsData> getByMonth(int year, int month, Long hospId);
  45. /**
  46. * 批量删除全院其他收支设置数据
  47. * @param idList
  48. */
  49. void deleteByIds(List<Long> idList);
  50. }