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

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.member.base.CuMemberRetail;
import com.hzs.member.base.mapper.CuMemberRetailMapper;
import com.hzs.member.base.service.ICuMemberRetailService;
import com.hzs.member.base.vo.MemberPointVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author bd
 * @since 2025-09-25
 */
@Service
public class CuMemberRetailServiceImpl extends ServiceImpl<CuMemberRetailMapper, CuMemberRetail> implements ICuMemberRetailService {

    @Override
    public Integer getFindCuMemberRetailDetail(String settleTableName) {
        return baseMapper.getFindCumemberRetailDetail(settleTableName);
    }

    @Override
    public List<MemberPointVO> getMemberPointByMemberCode(String settleDetailTableName, String settleTableName, String memberCode, String sort, String sortColumn) {
        return baseMapper.getMemberPointByMemberCode(settleDetailTableName,settleTableName,memberCode,sort,sortColumn);
    }

    @Override
    public MemberPointVO getMemberPointByUserId(String settleDetailTableName,String settleTableName, Long userId) {
        return baseMapper.getMemberPointByUserId(settleDetailTableName,settleTableName,userId);
    }
}
