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 + ",请联系管理员!")); }