CostCostingGroupService.java 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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.CostCostingGroup;
  6. import com.imed.costaccount.model.User;
  7. import com.imed.costaccount.model.dto.StartDTO;
  8. import org.springframework.web.multipart.MultipartFile;
  9. import java.util.List;
  10. /**
  11. * 成本归集
  12. *
  13. * @author KCYG
  14. * @email KCYG@xinxicom
  15. * @date 2021-08-12 11:00:23
  16. */
  17. public interface CostCostingGroupService extends IService<CostCostingGroup> {
  18. /**
  19. * 批量导入成本数据
  20. * @param read
  21. * @param user
  22. * @param file
  23. * @param dateTime
  24. * @param fileType
  25. * @return
  26. */
  27. Result importCostingGroup(List<List<Object>> read, User user, MultipartFile file, String dateTime, Integer fileType);
  28. /**
  29. * 分摊前查询
  30. *
  31. * @param current 当前页
  32. * @param pageSize 每页数据大小
  33. * @param responsibilityCode 责任中心代码
  34. * @param accountCode 会计中心代码
  35. * @param date 日期 yyyy-MM-dd
  36. * @param hospId 医院id
  37. * @return 分摊前查询列表
  38. */
  39. PageUtils queryStartAllocation(Integer current, Integer pageSize, String responsibilityCode, String accountCode, String date, Long hospId);
  40. /**
  41. * 成本分摊列表
  42. * @param current 当前页
  43. * @param pageSize 每页数据大小
  44. * @param date 日期 这里是 yyyy-MM-dd
  45. * @param hospId 医院id
  46. * @return 分页对象
  47. */
  48. PageUtils queryAllocation(Integer current, Integer pageSize, String date, Long hospId);
  49. /**
  50. * 开始归集代码
  51. * @param startDTO {@link StartDTO}
  52. * @param hospId 医院id
  53. */
  54. void startAllocation(StartDTO startDTO, Long hospId);
  55. }