liu
昨天 381e02b9eccbe953b31d09f2af1c2ce77c816140
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/md/item/MesMdItemController.java
@@ -81,6 +81,14 @@
        return success(buildItemVO(item));
    }
    @GetMapping("/get-by-mdm-item-id")
    @Operation(summary = "根据 MDM 物料编号获得 MES 物料产品")
    @Parameter(name = "mdmItemId", description = "MDM 物料编号", required = true, example = "1024")
    public CommonResult<MesMdItemRespVO> getItemByMdmItemId(@RequestParam("mdmItemId") Long mdmItemId) {
        MesMdItemDO item = itemService.getItemByMdmItemId(mdmItemId);
        return success(buildItemVO(item));
    }
    @GetMapping("/page")
    @Operation(summary = "获得物料产品分页")
    public CommonResult<PageResult<MesMdItemRespVO>> getItemPage(@Valid MesMdItemPageReqVO pageReqVO) {