zss
2023-09-07 9fe4b53620f1ea0a4278240a7acee7bc4ef739c6
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
package com.yuanchu.mom.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanchu.mom.pojo.Mbom;
 
import java.util.List;
import java.util.Map;
 
/**
 * 标准BOM-物料清单表(Mbom)表数据库访问层
 *
 * @author zss
 * @since 2023-08-31 11:58:23
 */
public interface MbomMapper extends BaseMapper<Mbom> {
 
    //根据型号id查询所有版本
    List<Integer> selectVerByMbom(Integer specificationsId);
 
    //右侧数据展示-->物料清单
    List<Map<String, Object>> selectAllMbom(Integer specificationsId, Integer version,String message);
 
    //根据型号id查询该型号下所有工艺需要的物料清单
    List<Mbom> selAllBySpeId(Integer specificationsId,Integer version);
 
    //根据工艺路线id删除物料清单
    void delMbomByTecId(Integer id);
 
    //根据工艺路线id批量删除
    void delAllByTecId(String ids);
 
    //根据物料清单id批量删除
    void delAllMbom(String ids);
}