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/PurchaseOrderDetailController.cs | 17 ++++++++++++++++- 1 files changed, 16 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/PurchaseOrderDetailController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderDetailController.cs" index a3a7c08..2a4cb19 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderDetailController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderDetailController.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/PurchaseOrderDetail")] [ApiController] public class PurchaseOrderDetailController : ApiBaseController<IPurchaseOrderDetailService, Dt_PurchaseOrderDetail> @@ -13,5 +18,15 @@ public PurchaseOrderDetailController(IPurchaseOrderDetailService service) : base(service) { } + [HttpPost, HttpGet, Route("GetPurchaseOrderDetailMaterielCode"), AllowAnonymous] + public WebResponseContent GetPurchaseOrderDetailMaterielCode(int warehouseId) + { + return Service.GetPurchaseOrderDetailMaterielCode(warehouseId); + } + [HttpPost, HttpGet, Route("GetPurchaseOrderNos"), AllowAnonymous] + public WebResponseContent GetPurchaseOrderNos(string materielCode) + { + return Service.GetPurchaseOrderNos(materielCode); + } } } -- Gitblit v1.9.3