zss
2023-09-13 2d6a0cdcb1e31510a6f7776abab17cc5cb82fdcb
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
87
88
package com.yuanchu.mom.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.mom.pojo.Technique;
import com.yuanchu.mom.pojo.dto.TechniqueDto;
 
import java.util.List;
import java.util.Map;
 
/**
 * 标准BOM-生产工艺表(Technique)表服务接口
 *
 * @author zss
 * @since 2023-08-31 11:57:53
 */
public interface TechniqueService extends IService<Technique> {
 
    /**
     * 根据型号id查询所有版本
     * @param specificationsId
     * @return
     */
    List<Integer> selectVerByTeq(Integer specificationsId);
 
    /**
     * 右侧数据展示-->生产工艺
     * @param specificationsId
     * @param version
     * @return
     */
    List<Map<String,Object>> selectAllTeq(Integer specificationsId, Integer version,String message);
 
    /**
     * 右上角新增-->生产工艺-->选择工序,工艺
     * @param specificationsId
     * @return
     */
    List<Map<String,Object>> chooseTech(Integer specificationsId);
 
    /**
     * 右上角新增-->生产工艺-->选择设备
     * @param technologyId
     * @return
     */
    List<Map<String,Object>> chooseDev(Integer technologyId);
 
    /**
     *右上角新增-->生产工艺-->选择项目(父子),单位
     * @param technologyId
     * @return
     */
    List<Map<String,Object>> choosePro(Integer technologyId);
 
    /**
     * 右上角新增-->生产工艺
     * @param techniqueDto
     */
    void addTechnique(TechniqueDto techniqueDto);
 
    /**
     * 删除
     * @param id
     */
    void delTeqById(Integer id);
 
    /**
     * 批量删除
     * @param ids
     */
    void delAllTeq(String ids);
 
    /**
     * 根据id查看详情
     * @param id
     * @return
     */
    List<Map<String,Object>> selTeqById(Integer id);
 
    /**
     * 编辑
     * @param id
     * @param product
     * @param productFather
     * @param unit
     * @return
     */
    String wriTeqById(Integer id, String product, String productFather, String unit);
}