ClassMemberMappingMapper.java 646 Bytes
package com.subsidy.mapper;

import com.subsidy.dto.classDict.GetSpareMembersDTO;
import com.subsidy.model.ClassDictDO;
import com.subsidy.model.ClassMemberMappingDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.model.MemberDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 班级成员映射表 Mapper 接口
 * </p>
 *
 * @author DengMin
 * @since 2021-10-12
 */
@Repository
public interface ClassMemberMappingMapper extends BaseMapper<ClassMemberMappingDO> {

    /**
     * 获取学生当前有效班级
     */
    List<ClassDictDO> getMemberClass(Long memberId);

}