whyclxw
2 天以前 cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7
src/main/java/com/whyc/mapper/ProductBomMapper.java
@@ -13,7 +13,7 @@
    void updateUrl(List<ProductBomApproving> fileBomApprovingList);
    //查询所有产品中没有与指定散装件关联的子件
    List<ProductBom> getAllSubWithOutMaterial(int MaterialId);
    List<ProductBom> getAllSubWithOutMaterial(int materialId);
    /*//根据母料型号查询子件信息及有关联的散装件信息
    List<ProductBom> getSubByMaterialProduct(String parentModel);*/
@@ -22,4 +22,17 @@
    //根据产品id查询子件及其关联的物料信息
    List<ProductBom> getBomAndMaterial(int productId,int version);
    List<ProductBom> getListByCodeAndModelList2(List<ProductBom> bomList);
    List<ProductBom> getEnabledBomListByParentCodeAndCustomCode(String parentCode, String customCode);
    //6.在productBom中插入pHsitoryBom查询出的数据
    int insertBomSelectBomH(Integer id,Integer subVersionMax);
    List<ProductBom> selectListWithMaterialField();
    void updateMaterialField2BomBatch(List<ProductBom> bomList);
}