package com.buy507.mall.service;

import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;

import com.buy507.mall.dto.ChartDescriptionResult;
import com.buy507.mall.dto.HomeResult;
import com.buy507.mall.dto.MemberShoppingInfoResult;
import com.buy507.mall.dto.MemberTeamInfoResult;
import com.buy507.mall.dto.OrderChartResult;
import com.buy507.mall.dto.WithdrawChartResult;

public interface DmsQueryService {
	
	/**
	 * 查询首页信息
	 * @return
	 */
	HomeResult getHomeInfo();
	
	/**
	 * 获取订单图表
	 * @return
	 */
	List<OrderChartResult> getOrderChart(String startTime, String endTime);
	
	/**
	 * 获取提现图表
	 * @return
	 */
	List<WithdrawChartResult> getWithdrawChart(String startTime, String endTime);
	
	/**
	 * 获取图表描述
	 */
	ChartDescriptionResult getChartDescription();

	/**
	 * 查询会员团队信息
	 * @param nickname
	 * @param inviterName
	 * @param inviterId
	 * @param memberLevel
	 * @param storeStatus
	 * @param pageSize
	 * @param pageNum
	 * @return
	 */
	List<MemberTeamInfoResult> memberTeamInfo(String nickname, String inviterName, Long inviterId, Integer memberLevel, Integer storeStatus, Integer pageSize, Integer pageNum);
	
	/**
	 * 查询会员购物信息
	 * @param startTime
	 * @param endTime
	 * @param pageSize
	 * @param pageNum
	 * @return
	 */
	List<MemberShoppingInfoResult> getMemberShoppingInfo(String startTime, String endTime, Integer pageSize, Integer pageNum);
	
	/**
	 * 导出会员购物信息
	 * @param startTime
	 * @param endTime
	 * @return
	 */
	Workbook exportExcel(String startTime, String endTime);
	
}
