From 2779947fe07c41250237437365f367b5a78a03b6 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 10 六月 2025 23:57:58 +0800
Subject: [PATCH] 1
---
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs"
index 6702606..e67acf6 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs"
@@ -183,9 +183,11 @@
/// 閿�鍞寚娲惧崟鎺ユ敹
/// </summary>
[HttpPost, Route("ProductSpecifyVer"), AllowAnonymous, MethodParamsValidate]
- public ErpResponseContent ProductSpecifyVer([FromBody] Root<ErpProductSpecifyVerDTO> root)
+ public async Task<ErpResponseContent> ProductSpecifyVerAsync([FromBody] Root<ErpProductSpecifyVerDTO> root)
{
- return Instance.OK();
+ var content = await _outboundService.ProOutOrderService.ProductSpecifyVer(root.Content);
+ if (content.Status) return Instance.OK();
+ else return Instance.Error(content.Message);
}
/// <summary>
/// 鎺ユ敹ERP閫�鏂欏崟淇℃伅
@@ -325,5 +327,14 @@
{
return _invokeERPService.InvokeOutProErpSync(outProOrderNo);
}
+ /// <summary>
+ /// ERP鎴愬搧鍏ュ簱浜у搧鍨嬪彿闈㈢Н鏌ヨ
+ /// </summary>
+ /// <returns></returns>
+ [HttpPost, Route("InvokeProInErpStatic"), AllowAnonymous]
+ public string InvokeProInErpStatic(string partNum, string partNumWithRev)
+ {
+ return _invokeERPService.InvokeProInErpStatic(partNum, partNumWithRev);
+ }
}
}
--
Gitblit v1.9.3