Blame view

SubjectTestGradeStarMappingMapper.java 753 Bytes
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
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);

}