springboot-vue3/src/main/java/com/example/springboot/mapper/UserMapper.java
New file @@ -0,0 +1,15 @@ package com.example.springboot.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.example.springboot.entity.User; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository public interface UserMapper extends BaseMapper<User> { List<User> selectChild(@Param("path") String path); }