CheckPointMapper.java 702 B

1234567891011121314151617181920212223
  1. package com.gonghang.h5clientapp.dao;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.gonghang.h5clientapp.beans.dto.CheckPointDTO;
  4. import org.apache.ibatis.annotations.Param;
  5. import org.apache.ibatis.annotations.Select;
  6. import org.springframework.stereotype.Component;
  7. /**
  8. * Created by shiwn on 2022/8/3 15:39
  9. */
  10. @Component
  11. public interface CheckPointMapper extends BaseMapper<CheckPointDTO> {
  12. /**
  13. * @Description: 查询 by 巡检点id
  14. * @Date: 2021/6/10 14:18
  15. * @Author: shiwn
  16. * @Param: [pointId]
  17. * @Return:
  18. */
  19. @Select("select * from check_point where id = #{pointId}")
  20. CheckPointDTO selectByPointId(@Param("pointId") Long pointId);
  21. }