From 753361f589444455fe1b20476c658201ccd92c38 Mon Sep 17 00:00:00 2001 From: helongyang <647556386@qq.com> Date: 星期三, 30 七月 2025 09:53:19 +0800 Subject: [PATCH] 更新优化 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/ErpProScrapSheetDetailController.cs | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/ErpProScrapSheetDetailController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/ErpProScrapSheetDetailController.cs" index 986bfa7..ae53f35 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/ErpProScrapSheetDetailController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/ErpProScrapSheetDetailController.cs" @@ -1,4 +1,7 @@ -锘縰sing Microsoft.AspNetCore.Mvc; +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.Attributes; using WIDESEA_Core.BaseController; using WIDESEA_IOutboundService; using WIDESEA_Model.Models; @@ -16,5 +19,18 @@ { } + /// <summary> + /// 鎶ュ簾鍗曟槑缁嗘煡璇� + /// </summary> + [HttpPost, Route("GetByDetails"), AllowAnonymous] + public List<Dt_ErpProScrapSheetDetail> GetByDetails(string scrapNo) + { + return Service.GetByDetails(scrapNo); + } + [HttpPost, Route("UpProScrap"), AllowAnonymous] + public WebResponseContent UpProScrap([FromBody] int[] keys, string scrapNo) + { + return Service.UpProScrap(scrapNo,keys); + } } } -- Gitblit v1.9.3