ShareParamValueService.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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.common.util.Result;
  5. import com.imed.costaccount.model.User;
  6. import com.imed.costaccount.model.ShareParamValue;
  7. import com.imed.costaccount.model.dto.CopyShareParamValueDTO;
  8. import com.imed.costaccount.model.dto.ShareParamValueEditDTO;
  9. import com.imed.costaccount.model.dto.ShareParamValueSaveDTO;
  10. import org.springframework.web.multipart.MultipartFile;
  11. import java.util.List;
  12. /**
  13. * 成本分摊参数值设置
  14. *
  15. * @author huangrui
  16. * @email fantaandcolo@gmail.com
  17. * @date 2021-08-17 10:03:48
  18. */
  19. public interface ShareParamValueService extends IService<ShareParamValue> {
  20. /**
  21. * 成本分摊参数导入
  22. * @param read
  23. * @param user
  24. * @param file
  25. * @param dateTime
  26. * @param fileType
  27. * @return
  28. */
  29. Result importShareParamGroup(List<List<Object>> read, User user, MultipartFile file, String dateTime, Integer fileType);
  30. /**
  31. * 添加分摊参数值
  32. * @param shareParamValueSaveDTO {@link ShareParamValueSaveDTO}
  33. * @param hospId 医院id
  34. */
  35. public void addData(ShareParamValueSaveDTO shareParamValueSaveDTO, Long hospId);
  36. /**
  37. * 分摊参数值列表
  38. *
  39. * @param current 当前页
  40. * @param pageSize 每页数据量大小
  41. * @param date 日期
  42. * @param shareParamCode 分摊参数代码
  43. * @param responsibilityCode 责任中心代码
  44. * @param hospId 医院id
  45. * @return {@link PageUtils} 分页对象
  46. */
  47. PageUtils selectList(Integer current, Integer pageSize, String date, String shareParamCode, String responsibilityCode, Long hospId);
  48. /**
  49. * 复制数据从某年月到某年月
  50. * @param copyShareParamValueDTO {@link CopyShareParamValueDTO}
  51. * @param hospId 医院id
  52. */
  53. void copyData(CopyShareParamValueDTO copyShareParamValueDTO, Long hospId) ;
  54. /**
  55. * 编辑某条数据
  56. * @param shareParamValueEditDTO {@link ShareParamValueEditDTO}
  57. * @param hospId 医院id
  58. */
  59. void editParamValue(ShareParamValueEditDTO shareParamValueEditDTO, Long hospId);
  60. /**
  61. * 计算数值
  62. *
  63. * @param date 日期 yyyyMM
  64. * @param hospId 医院id
  65. */
  66. void calcData(String date, Long hospId);
  67. }