PlaceMapper.java 522 B

12345678910111213141516171819202122
  1. package com.bofeng.dao;
  2. import com.baomidou.mybatisplus.mapper.BaseMapper;
  3. import com.bofeng.entity.Place;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import org.springframework.stereotype.Repository;
  7. import java.util.List;
  8. @Mapper
  9. @Repository
  10. public interface PlaceMapper extends BaseMapper<Place> {
  11. List<Place> selectAll();
  12. List<Place> selectAllPlace();
  13. List<Place> selectByUserId(@Param("userId") Long userId);
  14. int checkPlaceNameCount(Place place);
  15. }