云
6 小时以前 3edf8c4fc07f9784e2d04ee7a98692bb457749eb
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/route/MesProRouteProcessService.java
@@ -67,6 +67,27 @@
    List<MesProRouteProcessDO> getRouteProcessListByProductId(Long productId);
    /**
     * 获得工序在指定产品下的产出物料编号
     *
     * 按产出归属过滤:归属为空(多产品通用)或归属等于指定产品的产出。
     * 无归属数据时返回 {@code null},调用方需自行回退;有归属数据但该产品无产出时返回空列表。
     *
     * @param routeProcessId 工艺路线工序编号
     * @param productId      产品编号
     * @return 产出物料编号列表(按排序),无归属数据时为 null
     */
    List<Long> getOutputItemIdsByRouteProcessId(Long routeProcessId, Long productId);
    /**
     * 按工艺路线工序编号批量获得产出归属配置
     *
     * @param routeProcessIds 工艺路线工序编号数组
     * @return 产出归属列表
     */
    List<cn.iocoder.yudao.module.mes.dal.dataobject.pro.route.MesProRouteProcessOutputDO>
        getRouteProcessOutputListByRouteProcessIds(Collection<Long> routeProcessIds);
    /**
     * 按产品获得工序投料BOM Map
     *
     * key = 工序ID,value = 该工序下的投料BOM明细列表