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.BdRepoDirectPush;
import com.hzs.system.config.mapper.BdRepoDirectPushMapper;
import com.hzs.system.config.service.IBdRepoDirectPushService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 复购直推配置 服务实现类
 * </p>
 *
 * @author zhangjing
 * @since 2023-06-29
 */
@Service
public class BdRepoDirectPushServiceImpl extends ServiceImpl<BdRepoDirectPushMapper, BdRepoDirectPush> implements IBdRepoDirectPushService {

    @Override
    public List<BdRepoDirectPush> queryRepoDirectPush() {
        QueryWrapper<BdRepoDirectPush> queryWrapper = new QueryWrapper<>();
        queryWrapper.select("algebra,cal_type,push_value,pk_country");
        return baseMapper.selectList(queryWrapper);
    }
}
