lxw
2022-09-08 02a01ec276fa3673cb31a37f0ed5e9ef2cf0f43b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.whyc.mapper;
 
 
import com.whyc.pojo.ProductBomHistory;
import com.whyc.pojo.Software;
 
import java.util.List;
 
public interface ProductBomHistoryMapper extends CustomMapper<ProductBomHistory> {
    void updateVersionBatch(List<ProductBomHistory> newVersionCurrentHistoryList);
    //读取指定版本产品的子件和关联的物料信息
    List<ProductBomHistory> getBomHistoryAndMaterial(int productId, int subVersionMax);
    //查询产品的软件
    List<Software> selectSoftware(String parentCode);
 
    List<ProductBomHistory> getBomListByProductIdAndSubVersion(int productId, Integer subVersion);
 
}