package com.hzs.system.config.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.system.config.BdBonusDirect;
import com.hzs.system.config.mapper.BdBonusDirectMapper;
import com.hzs.system.config.service.IBdBonusDirectService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 直推奖励配置 服务实现类
 * </p>
 *
 * @author zhangjing
 * @since 2022-11-03
 */
@Service
public class BdBonusDirectServiceImpl extends ServiceImpl<BdBonusDirectMapper, BdBonusDirect> implements IBdBonusDirectService {

    @Override
    public List<BdBonusDirect> queryBonusDirect() {
        return baseMapper.selectList(new QueryWrapper<>());
    }
}
