package com.hzs.member.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.member.base.CuMemberExpireHistory;
import com.hzs.member.base.mapper.CuMemberExpireHistoryMapper;
import com.hzs.member.base.service.ICuMemberExpireHistoryService;
import org.springframework.stereotype.Service;

/**
 * 会员续约历史 服务实现类
 *
 * @author hzs
 * @since 2024-06-03
 */
@Service
public class CuMemberExpireHistoryServiceImpl extends ServiceImpl<CuMemberExpireHistoryMapper, CuMemberExpireHistory> implements ICuMemberExpireHistoryService {

    @Override
    public int saveExpireHistory(Long pkMember, String memberName, String phone, Integer pkCountry) {
        return baseMapper.saveExpireHistory(pkMember, memberName, phone, pkCountry);
    }

    @Override
    public CuMemberExpireHistory queryLastData(Long pkMember, String memberName, String phone, Integer pkCountry) {
        return baseMapper.queryLastData(pkMember, memberName, phone, pkCountry);
    }

}
