| | |
| | | package com.whyc.mapper; |
| | | |
| | | import com.whyc.pojo.Component; |
| | | import com.whyc.pojo.ProductBom; |
| | | import com.whyc.pojo.ProductBomHistory; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface ComponentMapper extends CustomMapper<Component>{ |
| | | //查询所有的散装件信息不分页 |
| | | List<Component> getComponentWithoutSub(String parentModel, String subName); |
| | | List<Component> getComponentWithoutSub(String parentModel, String subName,int version); |
| | | //查询所有的散装件信息加设置了替换关系的子件信息 |
| | | List<Component> getAllComponent(); |
| | | List<Component> getAllComponent(String category,String subCode,String subName,String subModel); |
| | | //查询出存在替换关系得散装件 |
| | | List<ProductBom> getReplaceComponent(String parentModel); |
| | | //历史版本下载查询出存在替换关系得散装件 |
| | | List<ProductBomHistory> getReplaceHisComponent(String parentModel,int version); |
| | | } |