baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
+38
@@ -0,0 +1,38 @@
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Opsoft.NetCore.O3App.Domain;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
|
||||
using Opsoft.NetCore.O3App.Shared;
|
||||
using Opsoft.NetCore.O3App.WebApi.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.WebApi.Controllers.WMS
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存查询
|
||||
/// </summary>
|
||||
[Authorize]
|
||||
public class STKInventoryController : BaseApiController<SelBillController>
|
||||
{
|
||||
private readonly ISTKInventoryService service;
|
||||
public STKInventoryController(IMapper mapper, ILogger<SelBillController> logger, ISTKInventoryService Service)
|
||||
: base(mapper, logger)
|
||||
{
|
||||
service = Service;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public async Task<BaseResponse<Dictionary<string, object>>> QueryInventory([FromBody] JObject request)
|
||||
{
|
||||
return await TryProcess(async input =>
|
||||
{
|
||||
return await service.QueryInventory(request);
|
||||
}, request);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user