From 5ab6b36c0c4bd80a31dcdd9f15cc835b7352c4e7 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期四, 16 一月 2025 11:08:02 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderController.cs | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderController.cs" index abdabac..b8bb804 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderController.cs" @@ -1,11 +1,16 @@ -锘縰sing Microsoft.AspNetCore.Http; +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_IInboundService; using WIDESEA_Model.Models; namespace WIDESEA_WMSServer.Controllers.Inbound { + /// <summary> + /// 閲囪喘鍗� + /// </summary> [Route("api/PurchaseOrder")] [ApiController] public class PurchaseOrderController : ApiBaseController<IPurchaseOrderService, Dt_PurchaseOrder> @@ -13,5 +18,10 @@ public PurchaseOrderController(IPurchaseOrderService service) : base(service) { } + [HttpPost, HttpGet, Route("GetPurchaseOrderInfo"), AllowAnonymous] + public WebResponseContent GetPurchaseOrderInfo(string purchaseOrderNo) + { + return Service.GetPurchaseOrderInfo(purchaseOrderNo); + } } } -- Gitblit v1.9.3