package com.example.springboot.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.example.springboot.entity.Category; 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 CategoryMapper extends BaseMapper { void categoryDeleteByIds(@Param("ids") List ids); void categoryUpdateById(@Param("id") Long id, @Param("category") Category category); void categoryInsert(@Param("category") Category category); List findAllExceptSelf(@Param("id") Long id); List selectByPath(@Param("path") String path); }