hdy
6 天以前 31960ffca93463cf4f6d417576c8694aed84138e
提交 | 用户 | 时间
f47bd7 1 package com.billion.main.bs.service.impl;
H 2
3 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
4 import com.billion.main.bs.domain.BsBomChildInfo;
5 import com.billion.main.bs.mapper.BsBomChildInfoMapper;
6 import com.billion.main.bs.service.IBsBomChildInfoService;
7 import org.springframework.beans.factory.annotation.Autowired;
8 import org.springframework.stereotype.Service;
9
10 import java.util.List;
11
12 /**
13  * 基础BOM子信息Service业务层处理
14  * 
15  * @author HDY
16  * @date 2024-11-25
17  */
18 @Service
19 public class BsBomChildInfoServiceImpl extends ServiceImpl<BsBomChildInfoMapper, BsBomChildInfo> implements IBsBomChildInfoService
20 {
21     @Autowired
22     private BsBomChildInfoMapper bsBomChildInfoMapper;
23
24     /**
25      * 查询基础BOM子信息
26      * 
27      * @param id 基础BOM子信息主键
28      * @return 基础BOM子信息
29      */
30     @Override
31     public BsBomChildInfo selectBsBomChildInfoById(Long id)
32     {
33         return bsBomChildInfoMapper.selectBsBomChildInfoById(id);
34     }
35
36     /**
37      * 查询基础BOM子信息列表
38      * 
39      * @param bsBomChildInfo 基础BOM子信息
40      * @return 基础BOM子信息
41      */
42     @Override
43     public List<BsBomChildInfo> selectBsBomChildInfoList(BsBomChildInfo bsBomChildInfo)
44     {
45         return bsBomChildInfoMapper.selectBsBomChildInfoList(bsBomChildInfo);
46     }
47
48     /**
49      * 新增基础BOM子信息
50      * 
51      * @param bsBomChildInfo 基础BOM子信息
52      * @return 结果
53      */
54     @Override
55     public int insertBsBomChildInfo(BsBomChildInfo bsBomChildInfo)
56     {
57         return bsBomChildInfoMapper.insertBsBomChildInfo(bsBomChildInfo);
58     }
59
60     /**
61      * 修改基础BOM子信息
62      * 
63      * @param bsBomChildInfo 基础BOM子信息
64      * @return 结果
65      */
66     @Override
67     public int updateBsBomChildInfo(BsBomChildInfo bsBomChildInfo)
68     {
69         return bsBomChildInfoMapper.updateBsBomChildInfo(bsBomChildInfo);
70     }
71
72     /**
73      * 批量删除基础BOM子信息
74      * 
75      * @param ids 需要删除的基础BOM子信息主键
76      * @return 结果
77      */
78     @Override
79     public int deleteBsBomChildInfoByIds(Long[] ids)
80     {
81         return bsBomChildInfoMapper.deleteBsBomChildInfoByIds(ids);
82     }
83
84     /**
85      * 删除基础BOM子信息信息
86      * 
87      * @param id 基础BOM子信息主键
88      * @return 结果
89      */
90     @Override
91     public int deleteBsBomChildInfoById(Long id)
92     {
93         return bsBomChildInfoMapper.deleteBsBomChildInfoById(id);
94     }
7737ed 95
H 96     @Override
97     public void insertBatch(List<BsBomChildInfo> confList) {
98
99     }
f47bd7 100 }