SubjectTestGradeStarMappingMapper.java 753 Bytes
package com.meishu.mapper;

import com.meishu.model.SubjectRuleDO;
import com.meishu.model.SubjectTestGradeStarMappingDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meishu.model.SubjectTestPublishGradeDO;
import com.meishu.vo.grade.DimensionStarVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 档次星级映射表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2021-06-21
 */
@Repository
public interface SubjectTestGradeStarMappingMapper extends BaseMapper<SubjectTestGradeStarMappingDO> {


    /**
     * 星级
     */
    List<DimensionStarVO> getGradeStar(Long gradeId);

    /**
     * 通过发布id找规则id
     */
    SubjectRuleDO getRuleIdByPublishId(Long id);

}