XiaoRuby
2023-09-01 3b7f72ee9c450955ecef1897d10d27e547f20476
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
package com.yuanchu.mom.mapper;
 
import com.yuanchu.mom.pojo.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanchu.mom.pojo.dto.ProductDto;
 
import java.util.List;
import java.util.Map;
 
/**
* @author Administrator
* @description 针对表【product】的数据库操作Mapper
* @createDate 2023-07-26 16:00:44
* @Entity com.yuanchu.mom.pojo.Product
*/
public interface ProductMapper extends BaseMapper<Product> {
 
    //根据型号id查询项目(技术指标)
    List<Map<String, Object>> selectProductList(Integer specificationsId);
 
    //根据型号id查询所有版本
    List<Integer> selectVerByPro(Integer specificationsId);
 
    //右侧数据展示-->技术指标(检验项目)
    List<Map<String, Object>> selectAllPro(Integer specificationsId, Integer version,String message);
 
    //右上角新增-->技术指标-->选择项目父类
    List<Map<String, Object>> chooseFather(Integer technologyId);
 
    //根据型号id查询该型号下的所有工艺的技术指标
    List<Product> selAllBySpeId(Integer specificationsId,Integer version);
 
    //根据工艺路线id删除技术指标
    void delProByTecId(Integer id);
 
    //根据工艺路线id批量删除
    void delAllByTechId(String ids);
 
    //根据技术指标id批量删除
    void delAllPro(String ids);
}