From 2d3ee03961d6cfbde70342e8a97bc7b05d0b0dc3 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期一, 21 七月 2025 17:27:34 +0800
Subject: [PATCH] 优化代码, 封装货位锁和创建任务流程, 数据库事务等

---
 api/ErpController.cs |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/api/ErpController.cs b/api/ErpController.cs
index 1e46eb3..d58e3fc 100644
--- a/api/ErpController.cs
+++ b/api/ErpController.cs
@@ -2,7 +2,8 @@
 using Newtonsoft.Json;
 using System.Collections.Generic;
 using System.Web.Http;
-
+using static HH.WCS.Mobox3.DSZSH.api.OtherModel;
+using HH.WCS.Mobox3.DSZSH.util;
 
 namespace HH.WCS.Mobox3.DSZSH.api {
     /// <summary>
@@ -10,8 +11,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