From 7d173d42cba04b4243f13c6ce013b04e1be4dc95 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期五, 07 三月 2025 16:59:34 +0800 Subject: [PATCH] 成品输送线 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Outbound.cs | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Outbound.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Outbound.cs" index 4c6cb86..ef6aeb1 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Outbound.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Outbound.cs" @@ -76,6 +76,40 @@ return content; } /// <summary> + /// 鐢熸垚鎴愬搧鍑哄簱浠诲姟 + /// </summary> + /// <param name="Id">鍑哄簱璁㈠崟ID</param> + /// <param name="StationCode">绔欏彴鍦板潃</param> + /// <returns></returns> + public WebResponseContent OutProductTask(int Id,string StationCode) + { + WebResponseContent content = new WebResponseContent(); + try + { + (List<Dt_Task>, List<Dt_ProStockInfo>?, List<Dt_ProOutOrderDetail>?, List<Dt_OutProStockInfo>?, List<Dt_LocationInfo>?) result = + OutProductTaskDataHandle(Id, StationCode); + } + catch (Exception ex) + { + content.Error(ex.Message); + } + return content; + } + /// <summary> + /// 澶勭悊鎴愬搧鍑哄簱鏁版嵁 + /// </summary> + /// <returns></returns> + public (List<Dt_Task>, List<Dt_ProStockInfo>?, List<Dt_ProOutOrderDetail>?, List<Dt_OutProStockInfo>?, List<Dt_LocationInfo>?) OutProductTaskDataHandle(int Id, string StationCode) + { + List<Dt_Task> tasks = new List<Dt_Task>(); + List<Dt_ProStockInfo> proStockInfos = new List<Dt_ProStockInfo>(); + List<Dt_ProOutOrderDetail> proOutOrderDetails = new List<Dt_ProOutOrderDetail>(); + List<Dt_OutProStockInfo> outProStockInfos=new List<Dt_OutProStockInfo>(); + List<Dt_LocationInfo> locationInfos = new List<Dt_LocationInfo>(); + + return (tasks, proStockInfos, proOutOrderDetails, outProStockInfos, locationInfos); + } + /// <summary> /// 搴撳瓨鏁版嵁杞嚭搴撲换鍔� /// </summary> /// <param name="stockInfos"></param> -- Gitblit v1.9.3