zss
2023-09-21 2dbc49184bd74845c8da694c20d6fd03d7ac87e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package com.yuanchu.mom.service;
 
import com.yuanchu.mom.pojo.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.mom.pojo.dto.ProductDto;
 
import java.util.List;
import java.util.Map;
 
/**
* @author Administrator
* @description 针对表【product】的数据库操作Service
* @createDate 2023-07-26 16:00:44
*/
public interface ProductService extends IService<Product> {
 
    /**
     * 根据型号id查询项目(技术指标)
     * @param specificationsId
     * @return
     */
    List<Map<String, Object>> selectProductList(Integer specificationsId);
 
    /**
     * 根据型号id查询版本
     * @param specificationsId
     * @return
     */
    List<Integer> selectVerByPro(Integer specificationsId);
 
    /**
     *右侧数据展示-->技术指标(检验项目)
     * @param specificationsId
     * @param version
     * @return
     */
    List<Map<String,Object>> selectAllPro(Integer specificationsId, Integer version,String message);
 
    /**
     * 右上角新增-->技术指标-->选择工序,工艺
     * @param specificationsId
     * @return
     */
    List<Map<String,Object>> chooseTech(Integer specificationsId,Integer version);
 
    /**
     * 右上角新增-->技术指标-->选择项目父类
     * @param technologyId
     * @return
     */
    List<Map<String,Object>> chooseFather(Integer technologyId);
 
    /**
     * 右上角新增-->技术指标
     * @param productDto
     */
    String addProduct(ProductDto productDto);
 
    /**
     * 填写标准值与内控值,鼠标移开保存
     * @param id
     * @param required
     * @param internal
     * @return
     */
    String write(Integer id, String required, String internal);
 
    /**
     * 删除
     * @param id
     */
    void delProById(Integer id);
 
    /**
     * 批量删除
     * @param ids
     */
    void delAllPro(String ids);
 
    /**
     * 查询标准BOM技术指标中该型号工艺下的检验项目
     * @param technologyId
     * @return
     */
    List<Product> selProByVerSpe(Integer technologyId);
}