From d784c8ed9eb56fd0c3308fdf7ef3f4789af2effb Mon Sep 17 00:00:00 2001 From: cjy Date: Thu, 31 Oct 2024 18:03:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=B7=E8=BF=90=E5=87=BA=E5=8F=A3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs index 25d4e8a2..3040223a 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/SeaExportService.cs @@ -547,7 +547,7 @@ public partial class SeaExportService : ISeaExportService { await tenantDb.Ado.RollbackTranAsync(); await ex.LogAsync(db); - return await Task.FromResult(DataResult.Failed("更新失败!" + ",请联系管理员!")); + return await Task.FromResult(DataResult.Failed("更新失败!" + ex.Message+ ",请联系管理员!")); } } } @@ -698,7 +698,7 @@ public partial class SeaExportService : ISeaExportService { await tenantDb.Ado.RollbackTranAsync(); await ex.LogAsync(db); - return await Task.FromResult(DataResult.Failed("添加失败!" + ",请联系管理员!")); + return await Task.FromResult(DataResult.Failed("添加失败!" + ex.Message + ",请联系管理员!")); }