package com.miaxis.engine.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.engine.EngineInfoDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.apache.commons.lang3.StringUtils;
import com.miaxis.engine.mapper.EngineInfoMapper;
import com.miaxis.engine.domain.EngineInfo;
import com.miaxis.engine.service.IEngineInfoService;

/**
 * 报价Service业务层处理
 *
 * @author miaxis
 * @date 2023-02-08
 */
@Service
public class EngineInfoServiceImpl extends ServiceImpl<EngineInfoMapper, EngineInfo> implements IEngineInfoService {
    @Autowired
    private EngineInfoMapper engineInfoMapper;

    /**
     * 查询报价列表
     *
     * @param engineInfo 报价
     * @return 报价
     */
    @Override
    public List<EngineInfo> selectEngineInfoList(EngineInfo engineInfo){
        return engineInfoMapper.selectEngineInfoList(engineInfo);
    }

    @Override
    public List<String> getListByFieldName(String name) {
        return engineInfoMapper.getListByFieldName(name);
    }

    @Override
    public List<EngineInfo> selectEngineInfoList2(EngineInfoDTO engineInfoDTO) {
        return engineInfoMapper.selectEngineInfoList2(engineInfoDTO);
    }
}
