package com.wzj.soopin.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzj.soopin.member.domain.po.MemberLoginInfo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 会员登录记录Mapper接口
 *
 * @author zcc
 */
public interface MemberLogininforMapper extends BaseMapper<MemberLoginInfo>{
    /**
     * 查询会员登录记录列表
     *
     * @param memberLogininfor 会员登录记录
     * @return 会员登录记录集合
     */
    List<MemberLoginInfo> selectByEntity(MemberLoginInfo memberLogininfor);

    int statLoginMember(@Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);
}
