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