whyclxw
2024-07-24 fb7534b29aec26dae6dedb4f1f31d196a38fdd1f
src/main/java/com/whyc/mapper/MaterialMapper.java
@@ -1,6 +1,8 @@
package com.whyc.mapper;
import com.whyc.pojo.Material;
import com.whyc.pojo.ProductBom;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -24,4 +26,15 @@
    void disableStatus(List<Material> materialList);
    List<Material> getListByCodeAndModelList2(List<ProductBom> bomList);
    //根据物料id查询返回附件文件夹下所有的文件列表
    Material getAttachByMaterialId(int materialId);
    ////根据物料型号('-','_'之前的部分)查询物料的历史版本
    List<Material> getMaterialVersion(@Param("subModel") String subModel);
    //根据物料id查询物料信息
    Material getMaterialById(int materialId);
    void updateDwgUrlAndPicUrl(List<Material> materialUpdateList);
    List<Material> getSameSubCodeAndModel(List<ProductBom> bomList);
}