添加成品库出入库报表功能,包括入库报表和出库报表的查询接口 在WmGoodsRecord模型中新增ChangePackage字段记录变动箱数 修复Job_Blank.cs中多余的return null语句
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;
|
|
}
|
|
}
|
|
|
|
}
|
|
} |