package com.buy507.mall.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.buy507.mall.dto.MemberMonthRewardResult;
import com.buy507.mall.dto.MemberResult;
import com.buy507.mall.dto.MemberTradeRecordResult;

public interface UmsMemberDao {

	List<MemberResult> selectByExample(@Param("nickname") String nickname, @Param("inviter") String inviter,
			@Param("memberLevel") Integer memberLevel,
			@Param("storeStatus") Integer storeStatus);

	List<MemberTradeRecordResult> selectMemberTradeRecord(@Param("memberId") Long memberId, @Param("orderSn") String orderSn,
			@Param("itemType") Integer itemType, @Param("type") Integer type);
	
	List<MemberMonthRewardResult> selectByMemberLevelAndNickname(@Param("memberLevel") Integer memberLevel,
			@Param("nickname") String  nickname);
	
}
