提交代码
This commit is contained in:
@ -90,6 +90,29 @@ namespace WebApi.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <20><>״̬<D7B4><CCAC>ѯ<EFBFBD><D1AF><EFBFBD>ⵥ<EFBFBD><E2B5A5>
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[Route("getOutOrderListByStatus")]
|
||||
[HttpPost(Name = "getOutOrderListByStatus")]
|
||||
public async Task<ResponseBase> getOutOrderListByStatus(GetOutOrderListByStatusRequest request)
|
||||
{
|
||||
try
|
||||
{
|
||||
return await _outstoreService.GetOutOrderListByStatus(request);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return new ResponseBase()
|
||||
{
|
||||
Code = 300,
|
||||
Message = "<22><>ѯʧ<D1AF>ܣ<EFBFBD>" + ex.Message,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD>ⵥ<EFBFBD>ij<EFBFBD><C4B3><EFBFBD><EFBFBD><EFBFBD>ϸ
|
||||
/// </summary>
|
||||
|
@ -71,11 +71,11 @@ namespace WCS.WebApi.Controllers
|
||||
return await _stockTakingService.queryMatInfoInStocktakingOrder(request);
|
||||
}
|
||||
|
||||
[Route("comfirmStocktakingOrder")]
|
||||
[HttpPost(Name = "comfirmStocktakingOrder")]
|
||||
public async Task<ResponseBase> comfirmStocktakingOrder(ComfirmStocktakingOrderRequest request)
|
||||
[Route("confirmStocktakingOrder")]
|
||||
[HttpPost(Name = "confirmStocktakingOrder")]
|
||||
public async Task<ResponseBase> confirmStocktakingOrder(ConfirmStocktakingOrderRequest request)
|
||||
{
|
||||
return await _stockTakingService.comfirmStocktakingOrder(request);
|
||||
return await _stockTakingService.confirmStocktakingOrder(request);
|
||||
}
|
||||
|
||||
[Route("commitStocktakingOrder")]
|
||||
|
@ -1,10 +1,12 @@
|
||||
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Server.Kestrel.Core;
|
||||
using System.Configuration;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
using WCS.BLL.Config;
|
||||
using WCS.BLL.Manager;
|
||||
using WCS.BLL.Services.IService;
|
||||
using WCS.BLL.Services.Service;
|
||||
@ -24,6 +26,8 @@ namespace WebApi
|
||||
|
||||
DbInit.InitDb();
|
||||
|
||||
LocalFile.SaveConfig();
|
||||
|
||||
ShelfManager.InitShelves();
|
||||
|
||||
TCPClientManager.InitTcpClient();
|
||||
|
Reference in New Issue
Block a user