package com.slodon.b2b2c.dao.read.member;

import com.slodon.b2b2c.core.database.BaseReadMapper;
import com.slodon.b2b2c.member.example.MemberExample;
import com.slodon.b2b2c.member.pojo.Member;
import com.slodon.b2b2c.vo.statistics.ScreenMemberDistribution;
import com.slodon.b2b2c.vo.statistics.ScreenMemberTrendVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberReadMapper extends BaseReadMapper<Member, MemberExample> {

    List<ScreenMemberDistribution> getMemberDistribution(@Param("webSite") String webSite);

    List<ScreenMemberTrendVO> getMemberTrend(@Param("webSite")String webSite,
                                             @Param("startTime")String startTime,
                                             @Param("endTime")String endTime);
}