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