From 2f281db1e4272c8061cd424c3eb946abb1b0a640 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期三, 30 七月 2025 15:07:09 +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