BusJcbJcxcMapper.java 953 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.railway.business.catenary.mapper;
  2. import com.github.pagehelper.Page;
  3. import com.railway.business.catenary.domain.BusJcbJcxc;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import org.springframework.stereotype.Repository;
  7. /**
  8. * 检查表-交叉线岔
  9. * @author zcf
  10. * @date 2021/10/18
  11. */
  12. @Mapper
  13. @Repository
  14. public interface BusJcbJcxcMapper {
  15. /**
  16. * @Description: 新增
  17. */
  18. int insert(BusJcbJcxc busJcbJcxc);
  19. /**
  20. * @Description: 删除
  21. */
  22. int delete(@Param("id") String id);
  23. /**
  24. * @Description: 更新
  25. */
  26. int update(BusJcbJcxc busJcbJcxc);
  27. /**
  28. * @Description: 获取单个
  29. */
  30. BusJcbJcxc getInfo(@Param("id") String id);
  31. /**
  32. * @Description: 查询列表
  33. */
  34. Page<BusJcbJcxc> getList(BusJcbJcxc busJcbJcxc);
  35. /**
  36. * @Description: 获取上次检查记录
  37. */
  38. BusJcbJcxc getLastRecord(Long userId);
  39. }