wujian
2024-03-22 0ce25f34a0d627a5cc0d073d24b8c3e569feac15
提交 | 用户 | 时间
e57a89 1 package com.jcdm.main.bs.formulaChild.mapper;
2
3 import java.util.List;
0ce25f 4
W 5 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
e57a89 6 import com.jcdm.main.bs.formulaChild.domain.BsFormulaChildInfo;
b77303 7 import org.springframework.data.repository.query.Param;
e57a89 8
9 /**
10  * 配方配置子信息Mapper接口
11  * 
12  * @author ruimin
13  * @date 2023-12-26
14  */
0ce25f 15 public interface BsFormulaChildInfoMapper extends BaseMapper<BsFormulaChildInfo>
e57a89 16 {
17     /**
18      * 查询配方配置子信息
19      * 
20      * @param id 配方配置子信息主键
21      * @return 配方配置子信息
22      */
23     public BsFormulaChildInfo selectBsFormulaChildInfoById(Long id);
24
25     /**
26      * 查询配方配置子信息列表
27      * 
28      * @param bsFormulaChildInfo 配方配置子信息
29      * @return 配方配置子信息集合
30      */
31     public List<BsFormulaChildInfo> selectBsFormulaChildInfoList(BsFormulaChildInfo bsFormulaChildInfo);
32
33     /**
34      * 新增配方配置子信息
35      * 
36      * @param bsFormulaChildInfo 配方配置子信息
37      * @return 结果
38      */
39     public int insertBsFormulaChildInfo(BsFormulaChildInfo bsFormulaChildInfo);
40
41     /**
42      * 修改配方配置子信息
43      * 
44      * @param bsFormulaChildInfo 配方配置子信息
45      * @return 结果
46      */
47     public int updateBsFormulaChildInfo(BsFormulaChildInfo bsFormulaChildInfo);
48
49     /**
50      * 删除配方配置子信息
51      * 
52      * @param id 配方配置子信息主键
53      * @return 结果
54      */
55     public int deleteBsFormulaChildInfoById(Long id);
56
57     /**
58      * 批量删除配方配置子信息
59      * 
60      * @param ids 需要删除的数据主键集合
61      * @return 结果
62      */
63     public int deleteBsFormulaChildInfoByIds(Long[] ids);
64
65     BsFormulaChildInfo selectBsFormulaChildInfoByTypeTopOne(BsFormulaChildInfo bsFormulaChildInfo);
66
b77303 67     BsFormulaChildInfo releaseCheck(BsFormulaChildInfo bsFormulaChildInfo);
e57a89 68
69     void workpieceRelease(BsFormulaChildInfo bsFormulaChildInfo);
b77303 70
71     BsFormulaChildInfo getCount(BsFormulaChildInfo info);
e57a89 72 }