liyong
5 天以前 3acb4bda764d615bc69d18339921cc92e0024cdd
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/route/MesProRouteProductBomServiceImpl.java
@@ -13,6 +13,7 @@
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;
import java.util.Collection;
import java.util.List;
import static cn.iocoder.yudao.framework.common.exception.util.ServiceExceptionUtil.exception;
@@ -137,4 +138,12 @@
        return routeProductBomMapper.selectListByRouteIdAndProductId(routeId, productId);
    }
    @Override
    public List<MesProRouteProductBomDO> getRouteProductBomListByProductIds(Long routeId, Collection<Long> productIds) {
        if (CollUtil.isEmpty(productIds)) {
            return java.util.Collections.emptyList();
        }
        return routeProductBomMapper.selectListByProductIds(routeId, productIds);
    }
}