package com.whyc.mapper;
|
|
import com.whyc.pojo.Component;
|
import com.whyc.pojo.ProductBom;
|
import com.whyc.pojo.ProductBomApproving;
|
|
import java.util.List;
|
|
public interface ProductBomMapper extends CustomMapper<ProductBom>{
|
//图纸分类检索
|
List<ProductBom> searchCadDrawer(ProductBom productBom);
|
|
void updateUrl(List<ProductBomApproving> fileBomApprovingList);
|
|
//查询所有产品中没有与指定散装件关联的子件
|
List<ProductBom> getAllSubWithOutComponent(int componentId);
|
|
//根据母料型号查询子件信息及有关联的散装件信息
|
List<ProductBom> getSubByComponentProduct(String parentModel);
|
//查询出存在的旧的关联子件
|
List<Component> getOldComponent(String subName);
|
}
|