DemWaterSourceMaintainService.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. package com.usky.fire.service;
  2. import com.usky.common.core.bean.CommonPage;
  3. import com.usky.common.mybatis.core.CrudService;
  4. import com.usky.fire.domain.DemWaterSourceMaintain;
  5. import java.util.List;
  6. /**
  7. * <p>
  8. * 天然水源信息表 服务类
  9. * </p>
  10. *
  11. * @author JCB
  12. * @since 2022-10-25
  13. */
  14. public interface DemWaterSourceMaintainService extends CrudService<DemWaterSourceMaintain> {
  15. /**
  16. * 消防水源管理-天然水源维护-列表
  17. *
  18. * @param squadron 所属中队
  19. * @param id 主键ID
  20. * @param pageNum 当前页面
  21. * @param pageSize 每页条数
  22. * @return
  23. */
  24. CommonPage<DemWaterSourceMaintain> waterSourceMaintainList(String squadron, Integer id, Integer pageNum, Integer pageSize);
  25. /**
  26. * 消防水源管理-天然水源维护-新增
  27. *
  28. * @param demWaterSourceMaintain
  29. */
  30. void addWaterSourceMaintain(DemWaterSourceMaintain demWaterSourceMaintain);
  31. /**
  32. * 消防水源管理-天然水源维护-修改
  33. *
  34. * @param demWaterSourceMaintain
  35. */
  36. void updateWaterSourceMaintain(DemWaterSourceMaintain demWaterSourceMaintain);
  37. /**
  38. * 消防水源管理-天然水源维护-删除
  39. *
  40. * @param id 主键ID
  41. */
  42. void delWaterSourceMaintain(Integer id);
  43. List<Object> waterSourceMaintainScatterer(String streetTown);
  44. }