using Microsoft.AspNetCore.Mvc; using ZR.Admin.WebApi.Extensions; using ZR.Model.MES.mm; using ZR.Model.MES.mm.Dto; using ZR.Service.mes.mm.IService; namespace ZR.Admin.WebApi.Controllers.mes.mm { /// /// 生产投料 /// [Route("mes/mm/mmInventoryReport")] public class MmInventoryReportController : BaseController { readonly IMmInventoryReportService mmInventoryReportService; public MmInventoryReportController(IMmInventoryReportService mmInventoryReportService) { this.mmInventoryReportService = mmInventoryReportService; } /// /// 成品库,入库清单 /// /// [HttpPost("GetInventoryReportByPage")] public IActionResult GetInventoryReportByPage([FromBody] WmGoodsRecordReportQueryDto query) { try { var response = mmInventoryReportService.GetInventoryReportByPage(query); return SUCCESS(response); } catch (Exception) { throw; } } } }