From 5ad394cf1708a4629f90f40bfd9b48d9a9f6f0c8 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期三, 21 五月 2025 16:55:18 +0800 Subject: [PATCH] 测试出库抽检流程,重构代码修复事务处理的问题 --- api/WMSController.cs | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Controllers/WmsController.cs b/api/WMSController.cs similarity index 61% rename from Controllers/WmsController.cs rename to api/WMSController.cs index 5ecedca..6a3ecb7 100644 --- a/Controllers/WmsController.cs +++ b/api/WMSController.cs @@ -1,14 +1,10 @@ -锘縰sing HH.WCS.Mobox3.DSZSH.AppStart; -using HH.WCS.Mobox3.DSZSH.Services; - -using Newtonsoft.Json; +锘縰sing Newtonsoft.Json; using System.Collections.Generic; using System.Web.Http; -using static HH.WCS.Mobox3.DSZSH.Dtos.Request.WmsRequest; -using static HH.WCS.Mobox3.DSZSH.Dtos.Response.WmsResponse; +using static HH.WCS.Mobox3.DSZSH.api.OtherModel; -namespace HH.WCS.Mobox3.DSZSH.Controllers +namespace HH.WCS.Mobox3.DSZSH.api { /// <summary> /// 绗笁鏂硅皟鐢ㄧ殑鎺ュ彛 @@ -23,7 +19,7 @@ [HttpPost] //[Route("WMS/CgInfoSync")] public WmsResult CgInfoSync(CgInfoSyncInfo model) { - return WmsService.CgInfoSync(model); + return ApiHelper.CgInfoSync(model); } } } -- Gitblit v1.9.1