| | |
| | | import cn.iocoder.yudao.module.mes.dal.dataobject.pro.route.MesProRouteProductBomDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * MES 工艺路线产品 BOM Mapper |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | @Mapper |
| | | public interface MesProRouteProductBomMapper extends BaseMapperX<MesProRouteProductBomDO> { |
| | |
| | | .eq(MesProRouteProductBomDO::getProductId, productId)); |
| | | } |
| | | |
| | | default List<MesProRouteProductBomDO> selectListByProductIds(Long routeId, Collection<Long> productIds) { |
| | | return selectList(new LambdaQueryWrapperX<MesProRouteProductBomDO>() |
| | | .eq(MesProRouteProductBomDO::getRouteId, routeId) |
| | | .in(MesProRouteProductBomDO::getProductId, productIds)); |
| | | } |
| | | |
| | | } |