43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
|
|
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/mmInventoryReport")]
|
|||
|
|
|
|||
|
|
public class MmInventoryReportController : BaseController
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
readonly IMmInventoryReportService mmInventoryReportService;
|
|||
|
|
|
|||
|
|
public MmInventoryReportController(IMmInventoryReportService mmInventoryReportService)
|
|||
|
|
{
|
|||
|
|
this.mmInventoryReportService = mmInventoryReportService;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 成品库,入库清单
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
[HttpPost("GetInventoryReportByPage")]
|
|||
|
|
public IActionResult GetInventoryReportByPage([FromBody] WmGoodsRecordReportQueryDto query)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
var response = mmInventoryReportService.GetInventoryReportByPage(query);
|
|||
|
|
return SUCCESS(response);
|
|||
|
|
}
|
|||
|
|
catch (Exception)
|
|||
|
|
{
|
|||
|
|
throw;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|