2024-03-12 17:41:03 +08:00
|
|
|
|
using Infrastructure.Extensions;
|
|
|
|
|
|
using JinianNet.JNTemplate;
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
using Microsoft.IdentityModel.Tokens;
|
|
|
|
|
|
using ZR.Model.MES.qu;
|
|
|
|
|
|
using ZR.Model.MES.wms;
|
|
|
|
|
|
using ZR.Service.mes.wms.IService;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ZR.Admin.WebApi.Controllers.mes.wms
|
|
|
|
|
|
{
|
2024-03-13 11:34:36 +08:00
|
|
|
|
|
2024-03-12 17:41:03 +08:00
|
|
|
|
[Route("/mes/wm/storagelocation")]
|
|
|
|
|
|
public class WMlocationInfoController : BaseController
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
private readonly IWMlocationInfoService wm_locationInfoService;
|
|
|
|
|
|
public WMlocationInfoController(IWMlocationInfoService wm_locationInfoService)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.wm_locationInfoService = wm_locationInfoService;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 查询仓库库位信息
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
[HttpGet("production_warehouse_info")]
|
|
|
|
|
|
public IActionResult Queryproduction_warehouse_info(string shelf = "", int layer = 0,int pageNum=0,int pageSize=0)
|
|
|
|
|
|
{
|
|
|
|
|
|
(List<WmInfo>, int) data = wm_locationInfoService.Getwminfo_product(shelf, layer, pageNum, pageSize);
|
|
|
|
|
|
return ToResponse(new ApiResult(200, "success", data));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|