|
|
@ -547,7 +547,7 @@ public partial class SeaExportService : ISeaExportService
|
|
|
|
{
|
|
|
|
{
|
|
|
|
await tenantDb.Ado.RollbackTranAsync();
|
|
|
|
await tenantDb.Ado.RollbackTranAsync();
|
|
|
|
await ex.LogAsync(db);
|
|
|
|
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 tenantDb.Ado.RollbackTranAsync();
|
|
|
|
await ex.LogAsync(db);
|
|
|
|
await ex.LogAsync(db);
|
|
|
|
return await Task.FromResult(DataResult.Failed("添加失败!" + ",请联系管理员!"));
|
|
|
|
return await Task.FromResult(DataResult.Failed("添加失败!" + ex.Message + ",请联系管理员!"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|