入库模块init
This commit is contained in:
@@ -5,6 +5,7 @@ using Microsoft.IdentityModel.Tokens;
|
||||
using ZR.Model.MES.qu;
|
||||
using ZR.Model.MES.wms;
|
||||
using ZR.Service.mes.wms.IService;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.mes.wms
|
||||
{
|
||||
@@ -13,7 +14,7 @@ namespace ZR.Admin.WebApi.Controllers.mes.wms
|
||||
public class WMlocationInfoController : BaseController
|
||||
{
|
||||
|
||||
private readonly IWMlocationInfoService wm_locationInfoService;
|
||||
private readonly IWMlocationInfoService wm_locationInfoService;
|
||||
public WMlocationInfoController(IWMlocationInfoService wm_locationInfoService)
|
||||
{
|
||||
this.wm_locationInfoService = wm_locationInfoService;
|
||||
@@ -25,11 +26,25 @@ namespace ZR.Admin.WebApi.Controllers.mes.wms
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("production_warehouse_info")]
|
||||
public IActionResult Queryproduction_warehouse_info(string shelf = "", int layer = 0,int pageNum=0,int pageSize=0)
|
||||
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));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取库位信息
|
||||
/// </summary>
|
||||
[HttpGet("get_location_info")]
|
||||
public IActionResult Querylocationinfo(int warehouse_num, string locationcode = "")
|
||||
{
|
||||
|
||||
WmInfo wmInfo= wm_locationInfoService.Getlocationinfo(warehouse_num, locationcode);
|
||||
return ToResponse(new ApiResult(200, "success", wmInfo));
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user