懒羊羊
2024-03-15 b773030f37dc06a92bdb80e8af9a408843d5b317
提交 | 用户 | 时间
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;
b77303 7 import org.springframework.data.repository.query.Param;
e57a89 8
9 /**
10  * 配方配置子信息Service接口
11  * 
12  * @author ruimin
13  * @date 2023-12-26
14  */
15 public interface IBsFormulaChildInfoService 
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 ids 需要删除的配方配置子信息主键集合
53      * @return 结果
54      */
55     public int deleteBsFormulaChildInfoByIds(Long[] ids);
56
57     /**
58      * 删除配方配置子信息信息
59      * 
60      * @param id 配方配置子信息主键
61      * @return 结果
62      */
63     public int deleteBsFormulaChildInfoById(Long id);
64
65     public BsFormulaChildInfo selectBsFormulaChildInfoByTypeTopOne(String type,String productCode,String processesCode);
66
b77303 67     BsFormulaChildInfo releaseCheck(BsFormulaChildInfo bsFormulaChildInfo);
e57a89 68
69     AjaxResult updateResults(BsFormulaChildInfo bsFormulaChildInfo);
70
71     AjaxResult workpieceRelease(BsFormulaChildInfo bsFormulaChildInfo);
b77303 72
73     AjaxResult updateTighteningFormula(BsFormulaChildInfo bsFormulaChildInfo);
74
75     public BsFormulaChildInfo getCount(String productCode,String processesCode);
76
77
78
79
80
81
e57a89 82 }