package com.ruoyi.web.modules.account.service;

import java.util.List;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.web.modules.account.domain.BizMember;
import com.ruoyi.web.modules.account.dto.MemberCreateDTO;
import com.ruoyi.web.modules.account.dto.MemberOrderQueryDTO;
import com.ruoyi.web.modules.account.dto.MemberStatusDTO;
import com.ruoyi.web.modules.account.vo.MemberDetailVO;
import com.ruoyi.web.modules.account.vo.MemberLevelVO;
import com.ruoyi.web.modules.account.vo.MemberListVO;

/**
 * 平台端会员 Service
 */
public interface IMemberService
{
    List<MemberListVO> selectMemberList(BizMember query);

    MemberDetailVO selectMemberDetail(Long memberId);

    Long createMember(MemberCreateDTO dto, String operator);

    void updateMemberStatus(Long memberId, MemberStatusDTO dto, String operator);

    TableDataInfo selectMemberOrders(Long memberId, MemberOrderQueryDTO query);

    Object selectMemberOrderDetail(Long memberId, Long orderId);

    List<MemberLevelVO> selectMemberLevelList();
}
