ITNeighborhoodService.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package com.slibra.business.service;
  2. import java.util.List;
  3. import com.slibra.business.domain.TNeighborhood;
  4. import com.slibra.business.res.PumpAndNumber;
  5. /**
  6. * 服务小区Service接口
  7. *
  8. * @author slibra
  9. * @date 2024-11-05
  10. */
  11. public interface ITNeighborhoodService
  12. {
  13. /**
  14. * 查询服务小区
  15. *
  16. * @param id 服务小区主键
  17. * @return 服务小区
  18. */
  19. public TNeighborhood selectTNeighborhoodById(Long id);
  20. /**
  21. * 查询服务小区列表
  22. *
  23. * @param tNeighborhood 服务小区
  24. * @return 服务小区集合
  25. */
  26. public List<TNeighborhood> selectTNeighborhoodList(TNeighborhood tNeighborhood);
  27. /**
  28. * 新增服务小区
  29. *
  30. * @param tNeighborhood 服务小区
  31. * @return 结果
  32. */
  33. public int insertTNeighborhood(TNeighborhood tNeighborhood);
  34. /**
  35. * 修改服务小区
  36. *
  37. * @param tNeighborhood 服务小区
  38. * @return 结果
  39. */
  40. public int updateTNeighborhood(TNeighborhood tNeighborhood);
  41. /**
  42. * 批量删除服务小区
  43. *
  44. * @param ids 需要删除的服务小区主键集合
  45. * @return 结果
  46. */
  47. public int deleteTNeighborhoodByIds(Long[] ids);
  48. /**
  49. * 删除服务小区信息
  50. *
  51. * @param id 服务小区主键
  52. * @return 结果
  53. */
  54. public int deleteTNeighborhoodById(Long id);
  55. List<PumpAndNumber> getPumpingStationAndNeighbourhoodBuildingsById(Long id);
  56. }