中国算力平台算力登记系统2.0
yanzhaofeige
5 days ago 37f8463032c06236bfd098133c31cda51217b00f
commit | author | age
1d2509 1 package com.odcc.cpzidc.bis.service.impl;
Y 2
3 import java.util.List;
4 import org.springframework.beans.factory.annotation.Autowired;
5 import org.springframework.stereotype.Service;
6 import com.odcc.cpzidc.bis.mapper.IdcNoIndexMapper;
7 import com.odcc.cpzidc.bis.domain.IdcNoIndex;
8 import com.odcc.cpzidc.bis.service.IIdcNoIndexService;
9
10 /**
11  * IDC编号索引Service业务层处理
12  * 
13  * @author ruoyi
14  * @date 2024-10-09
15  */
16 @Service
17 public class IdcNoIndexServiceImpl implements IIdcNoIndexService 
18 {
19     @Autowired
20     private IdcNoIndexMapper idcNoIndexMapper;
21
22     /**
23      * 查询IDC编号索引
24      * 
25      * @param id IDC编号索引主键
26      * @return IDC编号索引
27      */
28     @Override
29     public IdcNoIndex selectIdcNoIndexById(Long id)
30     {
31         return idcNoIndexMapper.selectIdcNoIndexById(id);
32     }
33
34     /**
35      * 查询IDC编号索引列表
36      * 
37      * @param idcNoIndex IDC编号索引
38      * @return IDC编号索引
39      */
40     @Override
41     public List<IdcNoIndex> selectIdcNoIndexList(IdcNoIndex idcNoIndex)
42     {
43         return idcNoIndexMapper.selectIdcNoIndexList(idcNoIndex);
44     }
45
46     /**
47      * 新增IDC编号索引
48      * 
49      * @param idcNoIndex IDC编号索引
50      * @return 结果
51      */
52     @Override
53     public int insertIdcNoIndex(IdcNoIndex idcNoIndex)
54     {
55         return idcNoIndexMapper.insertIdcNoIndex(idcNoIndex);
56     }
57
58     /**
59      * 修改IDC编号索引
60      * 
61      * @param idcNoIndex IDC编号索引
62      * @return 结果
63      */
64     @Override
65     public int updateIdcNoIndex(IdcNoIndex idcNoIndex)
66     {
67         return idcNoIndexMapper.updateIdcNoIndex(idcNoIndex);
68     }
69
70     /**
71      * 批量删除IDC编号索引
72      * 
73      * @param ids 需要删除的IDC编号索引主键
74      * @return 结果
75      */
76     @Override
77     public int deleteIdcNoIndexByIds(Long[] ids)
78     {
79         return idcNoIndexMapper.deleteIdcNoIndexByIds(ids);
80     }
81
82     /**
83      * 删除IDC编号索引信息
84      * 
85      * @param id IDC编号索引主键
86      * @return 结果
87      */
88     @Override
89     public int deleteIdcNoIndexById(Long id)
90     {
91         return idcNoIndexMapper.deleteIdcNoIndexById(id);
92     }
93 }