lxw
2022-09-01 b848451e8889fea12ce40b7818c1b8d84b50ea02
src/main/java/com/whyc/mapper/MaterialMapper.java
@@ -2,17 +2,29 @@
import com.whyc.pojo.Material;
import com.whyc.pojo.ProductBom;
import com.whyc.pojo.ProductBomHistory;
import java.util.List;
public interface MaterialMapper extends CustomMapper<Material>{
    //查询所有的散装件信息不分页
    List<Material> getMaterialWithoutSub(String parentModel, String subName,int version);
   /* List<Material> getMaterialWithoutSub(String parentModel, String subName,int version);*/
    //查询所有的散装件信息加设置了替换关系的子件信息
    List<Material> getAllMaterial(String category,String subCode,String subName,String subModel);
    /*List<Material> getAllMaterial(String category,String subCode,String subName,String subModel);*/
    /*//查询出存在替换关系得散装件
    List<ProductBom> getReplaceMaterial(String parentModel);*/
    //历史版本下载查询出存在替换关系得散装件
    List<ProductBomHistory> getReplaceHisMaterial(String parentModel,int version);
    /*//历史版本下载查询出存在替换关系得散装件
    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);
}