package com.lesingle.creation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lesingle.creation.entity.HomeworkReviewDimension;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 作业评审维度 Mapper 接口
 */
@Mapper
public interface HomeworkReviewDimensionMapper extends BaseMapper<HomeworkReviewDimension> {

    /**
     * 根据规则 ID 删除维度
     */
    void deleteByRuleId(@Param("ruleId") Long ruleId);

    /**
     * 根据规则 ID 查询维度列表
     */
    List<HomeworkReviewDimension> selectByRuleId(@Param("ruleId") Long ruleId);
}
