From e79700d34620c495667b7b8e7b852f23ed7d7e4e Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期三, 16 七月 2025 17:30:42 +0800 Subject: [PATCH] 简化增删改表达式,避免类型匹配出错 --- api/ErpController.cs | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/api/ErpController.cs b/api/ErpController.cs index 1e46eb3..78b7ae5 100644 --- a/api/ErpController.cs +++ b/api/ErpController.cs @@ -2,7 +2,7 @@ using Newtonsoft.Json; using System.Collections.Generic; using System.Web.Http; - +using static HH.WCS.Mobox3.DSZSH.api.OtherModel; namespace HH.WCS.Mobox3.DSZSH.api { /// <summary> @@ -10,8 +10,16 @@ /// </summary> [RoutePrefix("api")] public class ErpController : ApiController { - - - + /// <summary> + /// ERP涓嬪彂鍑哄簱璁″垝鍗�+ /// </summary> + /// <param name="model"></param> + /// <returns></returns> + [HttpPost] + [Route("ErpSendOutboundPlan")] + public ErpResult ErpSendOutboundPlan(ErpSendOutboundPlanInfo model) { + LogHelper.InfoApi("ERP涓嬪彂鍑哄簱璁″垝鍗�, model); + return ApiHelper.ErpSendOutboundPlan(model); + } } } \ No newline at end of file -- Gitblit v1.9.1