MemberService.java 1.17 KB
package com.subsidy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.dto.administer.DownloadFailMembersDTO;
import com.subsidy.dto.member.AddMemberDTO;
import com.subsidy.dto.member.QueryMembersDTO;
import com.subsidy.model.GroupMemberMappingDO;
import com.subsidy.model.MemberDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.subsidy.vo.member.DetailVO;
import com.subsidy.vo.member.ImportMemberResultVO;
import com.subsidy.vo.member.QueryMembersVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tuyp
 * @since 2024-07-18
 */
public interface MemberService extends IService<MemberDO> {

    void addMember(AddMemberDTO addMemberDTO);

    void updateMember(AddMemberDTO addMemberDTO);

    void deleteMember(MemberDO memberDO);

    IPage<QueryMembersVO> queryMembers(QueryMembersDTO queryMembersDTO);

    List<DetailVO> detail(GroupMemberMappingDO groupMemberMappingDO);

    ImportMemberResultVO importMember(Long companyId, MultipartFile multipartFile)throws Exception;

    void downloadFailMembers(DownloadFailMembersDTO downloadFailMembersDTO);
}