ITPumpingStationService.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package com.slibra.business.service;
  2. import java.util.List;
  3. import com.slibra.business.domain.TNeighborhood;
  4. import com.slibra.business.domain.TPumpingStation;
  5. import com.slibra.business.req.NeighbourhoodNumberAndAddFlagReq;
  6. import com.slibra.business.res.NeighbourhoodNumberAndAddFlag;
  7. /**
  8. * 泵站Service接口
  9. *
  10. * @author slibra
  11. * @date 2024-11-05
  12. */
  13. public interface ITPumpingStationService
  14. {
  15. /**
  16. * 查询泵站
  17. *
  18. * @param id 泵站主键
  19. * @return 泵站
  20. */
  21. public TPumpingStation selectTPumpingStationById(Long id);
  22. /**
  23. * 查询泵站列表
  24. *
  25. * @param tPumpingStation 泵站
  26. * @return 泵站集合
  27. */
  28. public List<TPumpingStation> selectTPumpingStationList(TPumpingStation tPumpingStation);
  29. /**
  30. * 新增泵站
  31. *
  32. * @param tPumpingStation 泵站
  33. * @return 结果
  34. */
  35. public int insertTPumpingStation(TPumpingStation tPumpingStation);
  36. /**
  37. * 修改泵站
  38. *
  39. * @param tPumpingStation 泵站
  40. * @return 结果
  41. */
  42. public int updateTPumpingStation(TPumpingStation tPumpingStation);
  43. /**
  44. * 批量删除泵站
  45. *
  46. * @param ids 需要删除的泵站主键集合
  47. * @return 结果
  48. */
  49. public int deleteTPumpingStationByIds(Long[] ids);
  50. /**
  51. * 删除泵站信息
  52. *
  53. * @param id 泵站主键
  54. * @return 结果
  55. */
  56. public int deleteTPumpingStationById(Long id);
  57. List<NeighbourhoodNumberAndAddFlag> getBuildingsAndFlagByID2(NeighbourhoodNumberAndAddFlagReq req);
  58. String addPumpingStationAndNeighbourhoodBuildings(List<TNeighborhood> req);
  59. List<TNeighborhood> getSimpleNeighbourhoodList(TNeighborhood tNeighborhood);
  60. }