XiaoRuby
2023-09-07 c28d3bb363dde2afb44c168b93379b2bf6b1f67f
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
package com.yuanchu.mom.mapper;
 
import com.yuanchu.mom.pojo.Technology;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-07-31
 */
public interface TechnologyMapper extends BaseMapper<Technology> {
 
    //根据型号id查询版本
    List<Integer> selectVerByTec(Integer specificationsId);
 
    //右侧数据展示-->工艺路线
    List<Map<String, Object>> selectAllTec(Integer specificationsId, Integer version,String message);
 
    //右上角新增-->工艺路线-->选择工序
    List<Map<String, Object>> chooseFather(Integer specificationsId);
 
    //右上角新增-->技术指标-->选择工序,工艺
    List<Map<String, Object>> chooseTech(Integer specificationsId);
 
    //批量删除
    void delAllTech(String ids);
 
    //查询该型号工艺下最新版本的工艺id
    Integer selTech(String techfather, String techname, Integer version, Integer specificationId);
}