CostOtherPaymentsService.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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.CostOtherPayments;
  5. import com.imed.costaccount.model.dto.CostOtherPaymentsEditDto;
  6. import com.imed.costaccount.model.vo.CostOtherPaymentsSaveDto;
  7. import com.imed.costaccount.model.vo.CostOtherPaymentsVO;
  8. import java.util.List;
  9. /**
  10. * 全院其他收支设置
  11. *
  12. * @author KCYG
  13. * @email KCYG@xinxicom
  14. * @date 2021-08-09 17:53:22
  15. */
  16. public interface CostOtherPaymentsService extends IService<CostOtherPayments> {
  17. /**
  18. * 分压查询全院其他收支设置
  19. * @param current
  20. * @param pageSize
  21. * @param name
  22. * @param hospId
  23. * @return
  24. */
  25. PageUtils queryList(Integer current, Integer pageSize, String name, Long hospId);
  26. /**
  27. * 根据Id获取对应的数据
  28. * @param id
  29. * @return
  30. */
  31. CostOtherPaymentsVO getByParamsId(Long id);
  32. /**
  33. *添加全院其他收支设置
  34. * @param costOtherPaymentsSaveDto
  35. */
  36. void addOtherPayment(CostOtherPaymentsSaveDto costOtherPaymentsSaveDto);
  37. /**
  38. * 修改全院其他收支设置
  39. * @param costOtherPaymentsEditDto
  40. */
  41. void updateOtherPaymentById(CostOtherPaymentsEditDto costOtherPaymentsEditDto);
  42. /**
  43. * 查询全院收支设置数据
  44. * @param hospId
  45. * @return
  46. */
  47. List<CostOtherPaymentsVO> getAll(Long hospId);
  48. }