ClassDictService.java 1.11 KB
package com.subsidy.service;

import com.subsidy.dto.classDict.AddClassDTO;
import com.subsidy.dto.classDict.AddMemberToClassDTO;
import com.subsidy.dto.classDict.GetAllClassesDTO;
import com.subsidy.dto.classDict.GetSpareMembersDTO;
import com.subsidy.model.ClassDictDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.subsidy.model.ClassMemberMappingDO;
import com.subsidy.model.MemberDO;
import com.subsidy.vo.classdict.GetAllClassesVO;

import java.util.List;

/**
 * <p>
 * 班级id 服务类
 * </p>
 *
 * @author DengMin
 * @since 2021-10-12
 */
public interface ClassDictService extends IService<ClassDictDO> {

    List<GetAllClassesVO> getAllClasses(ClassDictDO classDictDO);

    String deleteClasses(ClassDictDO classDictDO);

    String addClass(AddClassDTO addClassDTO);

    String updateClass(ClassDictDO classDictDO);

    ClassDictDO classDetail(ClassDictDO classDictDO);

    String removeMember(ClassMemberMappingDO classMemberMappingDO);

    List<MemberDO> getSpareMembers(GetSpareMembersDTO getSpareMembersDTO);

    String addMemberToClass(AddMemberToClassDTO addMemberToClassDTO);

}