2 天以前 111270df037596a04df97f787ca8b9199dd99866
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/md/item/MesMdItemService.java
@@ -134,4 +134,21 @@
     */
    Long getItemCountByUnitMeasureId(Long unitMeasureId);
    /**
     * 根据 MDM 物料 ID 获取 MES 产品
     *
     * @param mdmItemId MDM 物料 ID
     * @return MES 产品,不存在返回 null
     */
    MesMdItemDO getItemByMdmItemId(Long mdmItemId);
    /**
     * 根据 MDM 物料 ID 校验 MES 产品存在
     *
     * @param mdmItemId MDM 物料 ID
     * @return MES 产品
     * @throws cn.iocoder.yudao.framework.common.exception.ServiceException 如果产品不存在
     */
    MesMdItemDO validateItemExistsByMdmItemId(Long mdmItemId);
}