shgx_tz_mom/ZR.Admin.WebApi/Controllers/mes/mm/MmOutboundReportController.cs

43 lines
1.1 KiB
C#
Raw Normal View History

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
{
/// <summary>
/// 生产投料
/// </summary>
[Route("mes/mm/mmOutboundReport")]
public class MmOutboundReportController : BaseController
{
readonly IMmOutboundReportService mmOutboundReportService;
public MmOutboundReportController(IMmOutboundReportService mmOutboundReportService)
{
this.mmOutboundReportService = mmOutboundReportService;
}
/// <summary>
/// 成品库,入库清单
/// </summary>
/// <returns></returns>
[HttpPost("GetOutboundReportByPage")]
public IActionResult GetOutboundReportByPage([FromBody] WmGoodsRecordReportQueryDto query)
{
try
{
var response = mmOutboundReportService.GetOutboundReportByPage(query);
return SUCCESS(response);
}
catch (Exception)
{
throw;
}
}
}
}