对比新文件 |
| | |
| | | 锘縰sing Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_DTO.Inbound; |
| | | using WIDESEA_IInboundService; |
| | | using WIDESEA_Model.Models; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.Inbound |
| | | { |
| | | [Route("api/InboundOrder")] |
| | | [ApiController] |
| | | public class InboundOrderController : ApiBaseController<IInboundOrderService, Dt_InboundOrder> |
| | | { |
| | | public InboundOrderController(IInboundOrderService service) : base(service) |
| | | { |
| | | } |
| | | |
| | | [HttpPost, Route("AddInboundOrder"), AllowAnonymous] |
| | | public WebResponseContent AddInboundOrder([FromBody] InboundOrderAddDTO orderAddDTO) |
| | | { |
| | | return Service.AddInboundOrder(orderAddDTO); |
| | | } |
| | | |
| | | [HttpPost, Route("GetInboundOrder"), AllowAnonymous] |
| | | public WebResponseContent GetInboundOrder([FromBody] InboundOrderGetDTO inboundOrderGetDTO) |
| | | { |
| | | return Service.GetInboundOrder(inboundOrderGetDTO); |
| | | } |
| | | [HttpPost, Route("GetInboundOrderDetail"), AllowAnonymous] |
| | | public WebResponseContent GetInboundOrderDetail([FromBody] string OrderNo) |
| | | { |
| | | return Service.GetInboundOrderDetail(OrderNo); |
| | | } |
| | | } |
| | | } |