package com.odcc.cpzidc.bis.service.impl;
|
|
import java.util.List;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
import com.odcc.cpzidc.bis.mapper.IdcNoIndexMapper;
|
import com.odcc.cpzidc.bis.domain.IdcNoIndex;
|
import com.odcc.cpzidc.bis.service.IIdcNoIndexService;
|
|
/**
|
* IDC编号索引Service业务层处理
|
*
|
* @author ruoyi
|
* @date 2024-10-09
|
*/
|
@Service
|
public class IdcNoIndexServiceImpl implements IIdcNoIndexService
|
{
|
@Autowired
|
private IdcNoIndexMapper idcNoIndexMapper;
|
|
/**
|
* 查询IDC编号索引
|
*
|
* @param id IDC编号索引主键
|
* @return IDC编号索引
|
*/
|
@Override
|
public IdcNoIndex selectIdcNoIndexById(Long id)
|
{
|
return idcNoIndexMapper.selectIdcNoIndexById(id);
|
}
|
|
/**
|
* 查询IDC编号索引列表
|
*
|
* @param idcNoIndex IDC编号索引
|
* @return IDC编号索引
|
*/
|
@Override
|
public List<IdcNoIndex> selectIdcNoIndexList(IdcNoIndex idcNoIndex)
|
{
|
return idcNoIndexMapper.selectIdcNoIndexList(idcNoIndex);
|
}
|
|
/**
|
* 新增IDC编号索引
|
*
|
* @param idcNoIndex IDC编号索引
|
* @return 结果
|
*/
|
@Override
|
public int insertIdcNoIndex(IdcNoIndex idcNoIndex)
|
{
|
return idcNoIndexMapper.insertIdcNoIndex(idcNoIndex);
|
}
|
|
/**
|
* 修改IDC编号索引
|
*
|
* @param idcNoIndex IDC编号索引
|
* @return 结果
|
*/
|
@Override
|
public int updateIdcNoIndex(IdcNoIndex idcNoIndex)
|
{
|
return idcNoIndexMapper.updateIdcNoIndex(idcNoIndex);
|
}
|
|
/**
|
* 批量删除IDC编号索引
|
*
|
* @param ids 需要删除的IDC编号索引主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteIdcNoIndexByIds(Long[] ids)
|
{
|
return idcNoIndexMapper.deleteIdcNoIndexByIds(ids);
|
}
|
|
/**
|
* 删除IDC编号索引信息
|
*
|
* @param id IDC编号索引主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteIdcNoIndexById(Long id)
|
{
|
return idcNoIndexMapper.deleteIdcNoIndexById(id);
|
}
|
}
|