package com.ruoyi.syzy.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.syzy.mapper.BBusiHollandRecordDetailsMapper;
import com.ruoyi.syzy.domain.BBusiHollandRecordDetails;
import com.ruoyi.syzy.service.IBBusiHollandRecordDetailsService;

/**
 * 霍兰德测评记录详情Service业务层处理
 * 
 * @author mingxue
 * @date 2021-08-15
 */
@Service
public class BBusiHollandRecordDetailsServiceImpl implements IBBusiHollandRecordDetailsService {
    @Autowired
    private BBusiHollandRecordDetailsMapper bBusiHollandRecordDetailsMapper;

    /**
     * 查询霍兰德测评记录详情
     * 
     * @param id 霍兰德测评记录详情ID
     * @return 霍兰德测评记录详情
     */
    @Override
    public BBusiHollandRecordDetails selectBBusiHollandRecordDetailsById(Long id) {
        return bBusiHollandRecordDetailsMapper.selectBBusiHollandRecordDetailsById(id);
    }

    /**
     * 查询霍兰德测评记录详情列表
     * 
     * @param bBusiHollandRecordDetails 霍兰德测评记录详情
     * @return 霍兰德测评记录详情
     */
    @Override
    public List<BBusiHollandRecordDetails> selectBBusiHollandRecordDetailsList(BBusiHollandRecordDetails bBusiHollandRecordDetails) {
        return bBusiHollandRecordDetailsMapper.selectBBusiHollandRecordDetailsList(bBusiHollandRecordDetails);
    }

    /**
     * 新增霍兰德测评记录详情
     * 
     * @param bBusiHollandRecordDetails 霍兰德测评记录详情
     * @return 结果
     */
    @Override
    public int insertBBusiHollandRecordDetails(BBusiHollandRecordDetails bBusiHollandRecordDetails) {
        return bBusiHollandRecordDetailsMapper.insertBBusiHollandRecordDetails(bBusiHollandRecordDetails);
    }

    /**
     * 修改霍兰德测评记录详情
     * 
     * @param bBusiHollandRecordDetails 霍兰德测评记录详情
     * @return 结果
     */
    @Override
    public int updateBBusiHollandRecordDetails(BBusiHollandRecordDetails bBusiHollandRecordDetails) {
        return bBusiHollandRecordDetailsMapper.updateBBusiHollandRecordDetails(bBusiHollandRecordDetails);
    }

    /**
     * 批量删除霍兰德测评记录详情
     * 
     * @param ids 需要删除的霍兰德测评记录详情ID
     * @return 结果
     */
    @Override
    public int deleteBBusiHollandRecordDetailsByIds(Long[] ids) {
        return bBusiHollandRecordDetailsMapper.deleteBBusiHollandRecordDetailsByIds(ids);
    }

    /**
     * 删除霍兰德测评记录详情信息
     * 
     * @param id 霍兰德测评记录详情ID
     * @return 结果
     */
    @Override
    public int deleteBBusiHollandRecordDetailsById(Long id) {
        return bBusiHollandRecordDetailsMapper.deleteBBusiHollandRecordDetailsById(id);
    }
}
