zss
2023-09-11 19b596d3c05b1ca7ff80d8b802e7f6e03ad77dad
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
package com.yuanchu.mom.service;
 
import com.yuanchu.mom.pojo.Technology;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.mom.pojo.dto.TechnologyDto;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-07-31
 */
public interface TechnologyService extends IService<Technology> {
 
    /**
     * 根据型号id查询版本
     * @return
     */
    List<Integer> selectVerByTec(Integer specificationsId);
 
    /**
     * 右侧数据展示-->工艺路线
     * @param specificationsId 型号id
     * @param version 版本
     * @return
     */
    List<Map<String,Object>> selectAllTec(Integer specificationsId, Integer version,String message);
 
    /**
     * 右上角新增-->工艺路线-->选择设备组
     * @return
     */
    List<Map<String, Object>> chooseDevice();
 
    /**
     * 右上角新增-->工艺路线-->选择工序
     * @return
     */
    List<Map<String,Object>> chooseFather(Integer specificationsId);
 
    /**
     * 右上角新增-->工艺路线
     * @param specificationsId
     * @param technologyDto
     */
    void addTechnology(Integer specificationsId, TechnologyDto technologyDto);
 
    /**
     * 填写生产定额,鼠标移开保存
     * @param id
     * @param productionQuota
     * @return
     */
    Integer write(Integer id, Integer productionQuota);
 
    /**
     * 删除
     * @param id
     */
    void delTechById(Integer id);
 
    /**
     * 批量删除
     * @param ids
     */
    void delAllTech(String ids);
 
    /**
     * 选择设备组,鼠标移开保存
     * @param id
     * @param deviceGroup
     * @return
     */
    Integer writeDevice(Integer id, String deviceGroup);
 
}