package com.ssj.service.sys.teacher;

import com.ssj.bean.sys.teacher.domain.TeacherWeightRule;
import com.ssj.framework.core.common.service.BaseService;

import java.math.BigDecimal;

/**
 * @author yrf
 * @date 2019/5/9 10:40
 */
public interface TeacherWeightRuleService extends BaseService<TeacherWeightRule, String> {

    /**
     * 查询权重计算规则
     * @param type 计算的种类
     * @param grade 年级
     * @param value 匹配规则的值
     */
    TeacherWeightRule findByTypeAndGradeAndValue(int type, String grade, BigDecimal value);

}
