YbfManager.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. package com.zhcs.dt.service.information.monthProgress;
  2. import java.util.List;
  3. import com.zhcs.dt.util.PageData;
  4. /**
  5. *
  6. * @author zhengfei
  7. * @date 2019年4月9日
  8. * @desc 预备费service
  9. */
  10. public interface YbfManager {
  11. /**新增
  12. * @param pd
  13. * @throws Exception
  14. */
  15. public void save(PageData pd)throws Exception;
  16. /**删除
  17. * @param pd
  18. * @throws Exception
  19. */
  20. public void delete(PageData pd)throws Exception;
  21. /**修改
  22. * @param pd
  23. * @throws Exception
  24. */
  25. public void edit(PageData pd)throws Exception;
  26. /**列表(全部)
  27. * @param pd
  28. * @throws Exception
  29. */
  30. public List<PageData> listAll(PageData pd)throws Exception;
  31. /**通过公司和年份获取总金额
  32. * @param pd
  33. * @throws Exception
  34. */
  35. public List<PageData> findTotalCostByCompanyAndYear(PageData pd)throws Exception;
  36. /**通过公司和年份、路段获取数据
  37. * @param pd
  38. * @throws Exception
  39. */
  40. public PageData findByCompanyAndLoadAndYearAndProjectName(PageData pd)throws Exception;
  41. /**通过公司获取路段数据
  42. * @param pd
  43. * @throws Exception
  44. */
  45. public List<PageData> findLoadByParentId(PageData pd)throws Exception;
  46. /**
  47. * @Title: checkLoadId
  48. * @Description: 校验公司年份总金额
  49. * @param @param pd
  50. * @param @return
  51. * @return List<PageData>
  52. * @throws
  53. */
  54. public List<PageData> checkLoadId(PageData pd)throws Exception;
  55. }