From 0aed9c9ee65bd8a17837d83ec05e756d11fab297 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期二, 21 四月 2026 15:29:48 +0800
Subject: [PATCH] Merge branch 'dev' of http://115.159.85.185:8098/r/SuZhouGuanHong/ShanMeiXinNengYuan into dev

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs
index c04b982..3c66a24 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs
@@ -11,6 +11,7 @@
 using WIDESEA_Model.Models;
 using WIDESEA_Common.Constants;
 using WIDESEA_Common.StockEnum;
+using WIDESEA_Core.Helper;
 
 namespace WIDESEA_WMSServer.Controllers.Stock
 {
@@ -113,9 +114,10 @@
                             ? _mesService.InboundInContainer(mesRequest)
                             : _mesService.InboundInContainer(mesRequest, token);
                         return (
-                            result?.IsSuccess ?? false,
+                            result.Data?.IsSuccess ?? false,
                             System.Text.Json.JsonSerializer.Serialize(result),
-                            result?.ErrorMessage ?? "鏈煡閿欒"
+                            result?.Data?.Msg ?? result?.ErrorMessage ?? "鏈煡閿欒",
+                            _mesService.BuildConfig(token ?? string.Empty).ToJson()
                         );
                     },
                     App.User.UserName);
@@ -203,9 +205,10 @@
                             ? _mesService.OutboundInContainer(mesRequest)
                             : _mesService.OutboundInContainer(mesRequest, token);
                         return (
-                            result?.IsSuccess ?? false,
+                            result?.Data?.IsSuccess ?? false,
                             System.Text.Json.JsonSerializer.Serialize(result),
-                            result?.ErrorMessage ?? "鏈煡閿欒"
+                            result?.Data?.Msg ?? result?.ErrorMessage ?? "鏈煡閿欒",
+                            _mesService.BuildConfig(token ?? string.Empty).ToJson()
                         );
                     },
                     App.User.UserName);

--
Gitblit v1.9.3