package jnpf.cultivate.v2.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jnpf.model.cultivate.po.position.FtbCultivatePositionSetting;


public interface FtbCultivatePositionSettingService extends IService<FtbCultivatePositionSetting> {


    /**
     * 根据岗位学习id查询岗位学习设置
     *
     * @param positionLearnId 岗位学习id
     * @return 岗位学习设置
     */
    FtbCultivatePositionSetting listByPostLearnId(String positionLearnId);

    /**
     * 根据岗位学习id和职级id查询岗位学习设置
     *
     * @param positionLearnId 岗位学习id
     * @param gradeId         职级id
     * @return 岗位学习设置
     */
    FtbCultivatePositionSetting listByPostLearnIdAndGradeId(String positionLearnId, String gradeId);
}