BusJcbBlqMapper.java 920 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.railway.business.catenary.mapper;
  2. import com.github.pagehelper.Page;
  3. import com.railway.business.catenary.domain.BusJcbBlq;
  4. import com.railway.business.catenary.domain.BusJcbFdfxjyq;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import org.apache.ibatis.annotations.Param;
  7. import org.springframework.stereotype.Repository;
  8. /**
  9. * 检查表-避雷器
  10. * @author wuhonghao
  11. * @date 2021/10/17
  12. */
  13. @Mapper
  14. @Repository
  15. public interface BusJcbBlqMapper {
  16. /**
  17. * 新增
  18. */
  19. int insert(BusJcbBlq busJcbBlq);
  20. /**
  21. * 删除
  22. */
  23. int delete(@Param("id") String id);
  24. /**
  25. * 更新
  26. */
  27. int update(BusJcbBlq busJcbBlq);
  28. /**
  29. * 获取单个
  30. */
  31. BusJcbBlq getInfo(@Param("id") String id);
  32. /**
  33. * 查询列表
  34. */
  35. Page<BusJcbBlq> getList(BusJcbBlq busJcbBlq);
  36. /**
  37. * 查询最新记录
  38. */
  39. BusJcbBlq getLastOne(BusJcbBlq busJcbBlq);
  40. }