package com.miaxis.price.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.miaxis.common.utils.DateUtils;
import com.miaxis.price.dto.PriceInfoDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.apache.commons.lang3.StringUtils;
import com.miaxis.price.mapper.PriceInfoMapper;
import com.miaxis.price.domain.PriceInfo;
import com.miaxis.price.service.IPriceInfoService;

/**
 * 报价Service业务层处理
 *
 * @author miaxis
 * @date 2023-01-10
 */
@Service
public class PriceInfoServiceImpl extends ServiceImpl<PriceInfoMapper, PriceInfo> implements IPriceInfoService {
    @Autowired
    private PriceInfoMapper priceInfoMapper;

    /**
     * 查询报价列表
     *
     * @param priceInfo 报价
     * @return 报价
     */
    @Override
    public List<PriceInfo> selectPriceInfoList(PriceInfoDto dto){
        return priceInfoMapper.selectPriceInfoList(dto);
    }

    @Override
    public List<String> getListByFieldName(String name) {

        return priceInfoMapper.getListByFieldName(name);
    }
}
