From 1164314b1f0183dadf760171e5a494eda53a1c95 Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期四, 09 一月 2025 19:59:56 +0800 Subject: [PATCH] 更新多个文件,增强请求处理和日志记录 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Integration/ProcessApplyController.cs | 28 ++++++++++++++++++++++++++-- 1 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Integration/ProcessApplyController.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Integration/ProcessApplyController.cs index c8787ee..38d627d 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Integration/ProcessApplyController.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Integration/ProcessApplyController.cs @@ -21,8 +21,32 @@ /// <returns></returns> // POST: api/ProcessApply/ProcessApply [HttpPost("ProcessApply")] - public async Task<dynamic> ProcessApplyAsync([FromBody] ProcessApplyDto input) + public async Task<WebResponseContent> ProcessApplyAsync([FromBody] ProcessApplyDto input) { - return await _processApplyService.ProcessApplyAsync(input); + return await _processApplyService.GetProcessApplyAsync(input); + } + + /// <summary> + /// 琛ュ綍鍏ュ簱鏁版嵁 + /// </summary> + /// <param name="palletCode">鎵樼洏鍙�</param> + /// <param name="areaID">鍖哄煙涓婚敭</param> + /// <returns></returns> + [HttpPost("StockInDataBack")] + public async Task<WebResponseContent> StockInDataBackfillInterfaceAsync(string palletCode, int areaID) + { + return await _processApplyService.StockInDataBackfillInterfaceAsync(palletCode, areaID); + } + + /// <summary> + /// 琛ュ綍鍑哄簱鏁版嵁 + /// </summary> + /// <param name="palletCode">鎵樼洏鍙�</param> + /// <param name="areaID">鍖哄煙涓婚敭</param> + /// <returns></returns> + [HttpPost("StockOutDataBack")] + public async Task<WebResponseContent> StockOutDataBackfillInterfaceAsync(string palletCode, int areaID) + { + return await _processApplyService.StockOutDataBackfillInterfaceAsync(palletCode, areaID); } } \ No newline at end of file -- Gitblit v1.9.3