whyclxw
2 天以前 cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7
src/main/java/com/whyc/mapper/MaterialMapper.java
@@ -2,7 +2,7 @@
import com.whyc.pojo.Material;
import com.whyc.pojo.ProductBom;
import com.whyc.pojo.ProductBomHistory;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -17,4 +17,25 @@
    List<ProductBomHistory> getReplaceHisMaterial(String parentModel,int version);*/
    //查询所有物料(分页,模糊查询)
    List<Material> getMaterialLimit(String subCode, String subName, String subModel);
    List<String> getListByCodeList(List<String> codeList);
    void updateDwgUrl(List<Material> materialDwgUrlNameList);
    List<Material> getListByCodeAndModelList(List<Material> materialList);
    void disableStatus(List<Material> materialList);
    List<Material> getListByCodeAndModelList2(List<ProductBom> bomList);
    List<Material> getListByCodeAndModelList3(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);
}