| | |
| | | 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) { |