package com.labelsys.backend.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.labelsys.backend.entity.AnnotationTaskResource; import java.util.List; import org.apache.ibatis.annotations.Param; public interface AnnotationTaskResourceMapper extends BaseMapper { List listResourceIdsByTaskId(@Param("taskId") Long taskId); int deleteByTaskId(@Param("taskId") Long taskId); int countByResourceId(@Param("resourceId") Long resourceId); }