BusSdtzMapper.java 919 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.railway.business.baseinfo.mapper;
  2. import com.github.pagehelper.Page;
  3. import com.railway.business.baseinfo.domain.BusSdtz;
  4. import com.railway.business.baseinfo.domain.vo.BusSmartQueryVo;
  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/26
  12. */
  13. @Mapper
  14. @Repository
  15. public interface BusSdtzMapper {
  16. /**
  17. * 新增
  18. */
  19. int insert(BusSdtz busSdtz);
  20. /**
  21. * 删除
  22. */
  23. int delete(@Param("id") String id);
  24. /**
  25. * 更新
  26. */
  27. int update(BusSdtz busSdtz);
  28. /**
  29. * 获取单个
  30. */
  31. BusSdtz getInfo(@Param("id") String id);
  32. /**
  33. * 查询列表
  34. */
  35. Page<BusSdtz> getList(BusSdtz busSdtz);
  36. /**
  37. * 查询列表
  38. */
  39. Page<BusSdtz> smartQuery(BusSmartQueryVo busSmartQueryVo);
  40. }