package com.billion.main.bs.service.impl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.billion.main.bs.domain.BsBomChildInfo;
|
import com.billion.main.bs.mapper.BsBomChildInfoMapper;
|
import com.billion.main.bs.service.IBsBomChildInfoService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
/**
|
* 基础BOM子信息Service业务层处理
|
*
|
* @author HDY
|
* @date 2024-11-25
|
*/
|
@Service
|
public class BsBomChildInfoServiceImpl extends ServiceImpl<BsBomChildInfoMapper, BsBomChildInfo> implements IBsBomChildInfoService
|
{
|
@Autowired
|
private BsBomChildInfoMapper bsBomChildInfoMapper;
|
|
/**
|
* 查询基础BOM子信息
|
*
|
* @param id 基础BOM子信息主键
|
* @return 基础BOM子信息
|
*/
|
@Override
|
public BsBomChildInfo selectBsBomChildInfoById(Long id)
|
{
|
return bsBomChildInfoMapper.selectBsBomChildInfoById(id);
|
}
|
|
/**
|
* 查询基础BOM子信息列表
|
*
|
* @param bsBomChildInfo 基础BOM子信息
|
* @return 基础BOM子信息
|
*/
|
@Override
|
public List<BsBomChildInfo> selectBsBomChildInfoList(BsBomChildInfo bsBomChildInfo)
|
{
|
return bsBomChildInfoMapper.selectBsBomChildInfoList(bsBomChildInfo);
|
}
|
|
/**
|
* 新增基础BOM子信息
|
*
|
* @param bsBomChildInfo 基础BOM子信息
|
* @return 结果
|
*/
|
@Override
|
public int insertBsBomChildInfo(BsBomChildInfo bsBomChildInfo)
|
{
|
return bsBomChildInfoMapper.insertBsBomChildInfo(bsBomChildInfo);
|
}
|
|
/**
|
* 修改基础BOM子信息
|
*
|
* @param bsBomChildInfo 基础BOM子信息
|
* @return 结果
|
*/
|
@Override
|
public int updateBsBomChildInfo(BsBomChildInfo bsBomChildInfo)
|
{
|
return bsBomChildInfoMapper.updateBsBomChildInfo(bsBomChildInfo);
|
}
|
|
/**
|
* 批量删除基础BOM子信息
|
*
|
* @param ids 需要删除的基础BOM子信息主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteBsBomChildInfoByIds(Long[] ids)
|
{
|
return bsBomChildInfoMapper.deleteBsBomChildInfoByIds(ids);
|
}
|
|
/**
|
* 删除基础BOM子信息信息
|
*
|
* @param id 基础BOM子信息主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteBsBomChildInfoById(Long id)
|
{
|
return bsBomChildInfoMapper.deleteBsBomChildInfoById(id);
|
}
|
|
@Override
|
public void insertBatch(List<BsBomChildInfo> confList) {
|
|
}
|
}
|