package com.ximai.mes.dv.service.impl.dvBrandQuotation;

import java.util.List;

import com.ximai.mes.dv.domain.devBrandQuotation.DvBrandQuotationProcessItem;
import com.ximai.mes.dv.mapper.devBrandQuotation.DvBrandQuotationProcessItemMapper;
import com.ximai.mes.dv.service.devBrandQuotation.IDvBrandQuotationProcessItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author yinjinlu
 * @date 2024-01-25
 */
@Service
public class DvBrandQuotationProcessItemServiceImpl implements IDvBrandQuotationProcessItemService
{
    @Autowired
    private DvBrandQuotationProcessItemMapper devBrandQuotationProcessItemMapper;

    /**
     * 查询【请填写功能名称】
     *
     * @param brandQuotationProcessItemId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public DvBrandQuotationProcessItem selectDevBrandQuotationProcessItemByBrandQuotationProcessItemId(Long brandQuotationProcessItemId)
    {
        return devBrandQuotationProcessItemMapper.selectDevBrandQuotationProcessItemByBrandQuotationProcessItemId(brandQuotationProcessItemId);
    }

    /**
     * 查询【请填写功能名称】列表
     *
     * @param devBrandQuotationProcessItem 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<DvBrandQuotationProcessItem> selectDevBrandQuotationProcessItemList(DvBrandQuotationProcessItem devBrandQuotationProcessItem)
    {
        return devBrandQuotationProcessItemMapper.selectDevBrandQuotationProcessItemList(devBrandQuotationProcessItem);
    }

    /**
     * 新增【请填写功能名称】
     *
     * @param devBrandQuotationProcessItem 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertDevBrandQuotationProcessItem(DvBrandQuotationProcessItem devBrandQuotationProcessItem)
    {
        return devBrandQuotationProcessItemMapper.insertDevBrandQuotationProcessItem(devBrandQuotationProcessItem);
    }

    /**
     * 修改【请填写功能名称】
     *
     * @param devBrandQuotationProcessItem 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateDevBrandQuotationProcessItem(DvBrandQuotationProcessItem devBrandQuotationProcessItem)
    {
        return devBrandQuotationProcessItemMapper.updateDevBrandQuotationProcessItem(devBrandQuotationProcessItem);
    }

    /**
     * 批量删除【请填写功能名称】
     *
     * @param brandQuotationProcessItemIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteDevBrandQuotationProcessItemByBrandQuotationProcessItemIds(Long[] brandQuotationProcessItemIds)
    {
        return devBrandQuotationProcessItemMapper.deleteDevBrandQuotationProcessItemByBrandQuotationProcessItemIds(brandQuotationProcessItemIds);
    }

    /**
     * 删除【请填写功能名称】信息
     *
     * @param brandQuotationProcessItemId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteDevBrandQuotationProcessItemByBrandQuotationProcessItemId(Long brandQuotationProcessItemId)
    {
        return devBrandQuotationProcessItemMapper.deleteDevBrandQuotationProcessItemByBrandQuotationProcessItemId(brandQuotationProcessItemId);
    }
}
