XiaoRuby
2023-09-11 3594a911312b92561b08c478ef0319cf1ae2b0d8
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
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 technologyId
     * @param techniqueDto
     */
    void addTechnique(Integer technologyId, TechniqueDto techniqueDto);
 
    /**
     * 删除
     * @param id
     */
    void delTeqById(Integer id);
 
    /**
     * 批量删除
     * @param ids
     */
    void delAllTeq(String ids);
}