package com.ard.sample.annotation.mapper; import com.ard.sample.annotation.model.entity.AnnotationEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface AnnotationMapper extends BaseMapper { // 按目录ID查询标记列表 List selectByDirectoryId(@Param("directoryId") Integer directoryId); }