package com.kxs.user.biz.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kxs.common.security.util.SecurityUtils;
import com.kxs.user.api.model.KxsLeader;
import com.kxs.user.api.model.KxsPartner;
import com.kxs.user.api.model.KxsUser;
import com.kxs.user.api.vo.kxsapp.userLevel.UserEquityListVO;
import com.kxs.user.biz.mapper.KxsLeaderMapper;
import com.kxs.user.biz.mapper.KxsPartnerMapper;
import com.kxs.user.biz.mapper.KxsUserEquityMapper;
import com.kxs.user.api.model.KxsUserEquity;
import com.kxs.user.biz.mapper.KxsUserMapper;
import com.kxs.user.biz.service.KxsUserEquityService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 创客权益表(KxsUserEquity)表服务实现类
 *
 * @author 系统
 * @since 2024-02-26 17:19:45
 */
@Service("kxsUserEquityService")
@RequiredArgsConstructor
public class KxsUserEquityServiceImpl extends ServiceImpl<KxsUserEquityMapper, KxsUserEquity> implements KxsUserEquityService {

    private final KxsUserMapper kxsUserMapper;

    private final KxsLeaderMapper kxsLeaderMapper;

    private final KxsPartnerMapper kxsPartnerMapper;


    @Override
    public List<UserEquityListVO> equityList() {

        return baseMapper.selectByList();
    }
}

