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.BBusiWishXkcxCourseGroupMapper;
import com.ruoyi.syzy.domain.BBusiWishXkcxCourseGroup;
import com.ruoyi.syzy.service.IBBusiWishXkcxCourseGroupService;

/**
 * 地区批次录取分数线Service业务层处理
 * 
 * @author mingxue
 * @date 2021-08-18
 */
@Service
public class BBusiWishXkcxCourseGroupServiceImpl implements IBBusiWishXkcxCourseGroupService 
{
    @Autowired
    private BBusiWishXkcxCourseGroupMapper bBusiWishXkcxCourseGroupMapper;

    /**
     * 查询地区批次录取分数线
     * 
     * @param id 地区批次录取分数线ID
     * @return 地区批次录取分数线
     */
    @Override
    public BBusiWishXkcxCourseGroup selectBBusiWishXkcxCourseGroupById(Long id)
    {
        return bBusiWishXkcxCourseGroupMapper.selectBBusiWishXkcxCourseGroupById(id);
    }

    /**
     * 查询地区批次录取分数线列表
     * 
     * @param bBusiWishXkcxCourseGroup 地区批次录取分数线
     * @return 地区批次录取分数线
     */
    @Override
    public List<BBusiWishXkcxCourseGroup> selectBBusiWishXkcxCourseGroupList(BBusiWishXkcxCourseGroup bBusiWishXkcxCourseGroup)
    {
        return bBusiWishXkcxCourseGroupMapper.selectBBusiWishXkcxCourseGroupList(bBusiWishXkcxCourseGroup);
    }

    /**
     * 新增地区批次录取分数线
     * 
     * @param bBusiWishXkcxCourseGroup 地区批次录取分数线
     * @return 结果
     */
    @Override
    public int insertBBusiWishXkcxCourseGroup(BBusiWishXkcxCourseGroup bBusiWishXkcxCourseGroup)
    {
        return bBusiWishXkcxCourseGroupMapper.insertBBusiWishXkcxCourseGroup(bBusiWishXkcxCourseGroup);
    }

    /**
     * 修改地区批次录取分数线
     * 
     * @param bBusiWishXkcxCourseGroup 地区批次录取分数线
     * @return 结果
     */
    @Override
    public int updateBBusiWishXkcxCourseGroup(BBusiWishXkcxCourseGroup bBusiWishXkcxCourseGroup)
    {
        return bBusiWishXkcxCourseGroupMapper.updateBBusiWishXkcxCourseGroup(bBusiWishXkcxCourseGroup);
    }

    /**
     * 批量删除地区批次录取分数线
     * 
     * @param ids 需要删除的地区批次录取分数线ID
     * @return 结果
     */
    @Override
    public int deleteBBusiWishXkcxCourseGroupByIds(Long[] ids)
    {
        return bBusiWishXkcxCourseGroupMapper.deleteBBusiWishXkcxCourseGroupByIds(ids);
    }

    /**
     * 删除地区批次录取分数线信息
     * 
     * @param id 地区批次录取分数线ID
     * @return 结果
     */
    @Override
    public int deleteBBusiWishXkcxCourseGroupById(Long id)
    {
        return bBusiWishXkcxCourseGroupMapper.deleteBBusiWishXkcxCourseGroupById(id);
    }
}
