DemWaterSourceService.java 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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.DemWaterSource;
  5. import java.util.List;
  6. import java.util.Map;
  7. /**
  8. * <p>
  9. * 水源信息表 服务类
  10. * </p>
  11. *
  12. * @author JCB
  13. * @since 2022-10-24
  14. */
  15. public interface DemWaterSourceService extends CrudService<DemWaterSource> {
  16. /**
  17. * 消防水源管理-列表
  18. *
  19. * @param waterName 水源名称
  20. * @param id 主键ID
  21. * @param pageNum 当前页
  22. * @param pageSize 每页条数
  23. * @return
  24. */
  25. CommonPage<Map<String, Object>> waterSourceList(String waterName, Integer id, Integer pageNum, Integer pageSize);
  26. /**
  27. * 消防水源管理-修改
  28. *
  29. * @param demWaterSource
  30. */
  31. void updateWaterSource(DemWaterSource demWaterSource);
  32. /**
  33. * 消防水源管理-删除
  34. *
  35. * @param id 主键ID
  36. */
  37. void delWaterSource(Integer id);
  38. List<Object> waterSourceList(String streetTown);
  39. }