yanjinhui
6 天以前 5b8bf171b9afda52fa366a72e54eedbd9e6d4d17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO.SquareCabin;
using WIDESEA_ISquareCabinServices;
using WIDESEA_Model.Models;
using static WIDESEA_DTO.SquareCabin.TowcsDto;
 
namespace WIDESEA_WMSServer.Controllers
{
    [Route("api/Inventory")]
    [ApiController]
    public class InventoryController : ApiBaseController<IInventoryServices, Dt_Inventory>
    {
        public InventoryController(IInventoryServices service) : base(service)
        {
        }
 
        [HttpPost,Route("OrderFeedback"),AllowAnonymous]
        public ApiResponse<Dt_InventoryInfo> OrderFeedback([FromBody]EdiOrderCallbackRequest request)
        {
            return Service.OrderFeedback(request);
        }
 
        [HttpPost,Route("GetInventoryList"),AllowAnonymous]
        public WebResponseContent GetInventoryList(string goods_no, string batch_num)
        {
            return Service.GetInventoryList(goods_no, batch_num);
        }
    }
}