1
This commit is contained in:
parent
68b3bc6fae
commit
43ec43ba43
@ -104,6 +104,22 @@ namespace ZR.Admin.WebApi.Controllers
|
|||||||
return ToResponse(response);
|
return ToResponse(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 一次合格品仓库数据导出
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parm"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet("export")]
|
||||||
|
[Log(Title = "一次合格品仓库数据导出", BusinessType = BusinessType.EXPORT)]
|
||||||
|
public IActionResult Export([FromQuery] WmOneTimeInventoryQueryDto parm)
|
||||||
|
{
|
||||||
|
parm.PageNum = 1;
|
||||||
|
parm.PageSize = 10000;
|
||||||
|
var list = _WmOneTimeInventoryService.GetList(parm);
|
||||||
|
var result = ExportExcelMini(list.Result, "onetime", "一次合格品仓库数据");
|
||||||
|
return ExportExcel(result.Item2, result.Item1);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 一次合格品手动入库
|
/// 一次合格品手动入库
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using ZR.Admin.WebApi.Extensions;
|
using ZR.Admin.WebApi.Extensions;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
|
using ZR.Model;
|
||||||
using ZR.Model.MES.wms;
|
using ZR.Model.MES.wms;
|
||||||
using ZR.Model.MES.wms.Dto;
|
using ZR.Model.MES.wms.Dto;
|
||||||
|
using ZR.Model.System.Dto;
|
||||||
using ZR.Service.mes.wms;
|
using ZR.Service.mes.wms;
|
||||||
using ZR.Service.mes.wms.IService;
|
using ZR.Service.mes.wms.IService;
|
||||||
|
|
||||||
@ -105,6 +107,23 @@ namespace ZR.Admin.WebApi.Controllers
|
|||||||
return ToResponse(response);
|
return ToResponse(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 抛光仓库数据导出
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parm"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet("export")]
|
||||||
|
[Log(Title = "抛光仓库数据导出", BusinessType = BusinessType.EXPORT)]
|
||||||
|
public IActionResult Export([FromQuery] WmPolishInventoryQueryDto parm)
|
||||||
|
{
|
||||||
|
parm.PageNum = 1;
|
||||||
|
parm.PageSize = 10000;
|
||||||
|
var list = _WmPolishInventoryService.GetList(parm);
|
||||||
|
|
||||||
|
var result = ExportExcelMini(list.Result, "polish", "抛光仓库数据");
|
||||||
|
return ExportExcel(result.Item2, result.Item1);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 物料下拉菜单查看
|
/// 物料下拉菜单查看
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user