package com.ssm.manage.dao.impl;

import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.BaseCouponDao;
import com.ssm.manage.dao.MemberLoginRecordingDao;
import com.ssm.manage.entity.BaseCoupon;
import com.ssm.manage.entity.MemberLoginRecording;
import com.ssm.manage.mapper.BaseCouponMapper;
import com.ssm.manage.mapper.MemberLoginRecordingMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class MemberLoginRecordingDaoImpl extends BaseDaoImpl<MemberLoginRecording> implements MemberLoginRecordingDao {

    @Autowired
    private MemberLoginRecordingMapper mapper;

    @Override
    public MemberLoginRecordingMapper getMapper() {
        return mapper;
    }

    @Override
    public void createTable(String date) {
        mapper.createTable(date);
    }

    @Override
    public void addMemberLogin(MemberLoginRecording memberLoginRecording) {
        mapper.addMemberLogin(memberLoginRecording);
    }
}
