diff --git a/src/Shentun.Peis.Application/Nations/NationAppService.cs b/src/Shentun.Peis.Application/Nations/NationAppService.cs index 71821ecd..bc7a8cd8 100644 --- a/src/Shentun.Peis.Application/Nations/NationAppService.cs +++ b/src/Shentun.Peis.Application/Nations/NationAppService.cs @@ -83,8 +83,8 @@ namespace Shentun.Peis.Nations return nationDto; }).ToList(); - /* + var entlist = (await _repository.GetListAsync()).OrderBy(o => o.DisplayOrder).ToList(); if (!string.IsNullOrEmpty(input.Filter)) diff --git a/test/Shentun.Peis.Domain.Tests/appsettings.json b/test/Shentun.Peis.Domain.Tests/appsettings.json index cdeaeb09..2371a272 100644 --- a/test/Shentun.Peis.Domain.Tests/appsettings.json +++ b/test/Shentun.Peis.Domain.Tests/appsettings.json @@ -1,6 +1,6 @@ { "ConnectionStrings": { - "Default": "Host=81.70.217.145;Port=5432;Database=ShentunPeis;User ID=postgres;Password=shentun123;" + "Default": "Host=140.143.162.39;Port=5432;Database=ShentunPeis070703;User ID=postgres;Password=shentun123;" }, "OpenIddict": { "Applications": { diff --git a/test/Shentun.Peis.EntityFrameworkCore.Tests/EntityFrameworkCore/PeisEntityFrameworkCoreTestModule.cs b/test/Shentun.Peis.EntityFrameworkCore.Tests/EntityFrameworkCore/PeisEntityFrameworkCoreTestModule.cs index 8392416a..8fa012cf 100644 --- a/test/Shentun.Peis.EntityFrameworkCore.Tests/EntityFrameworkCore/PeisEntityFrameworkCoreTestModule.cs +++ b/test/Shentun.Peis.EntityFrameworkCore.Tests/EntityFrameworkCore/PeisEntityFrameworkCoreTestModule.cs @@ -40,7 +40,7 @@ public class PeisEntityFrameworkCoreTestModule : AbpModule } private void ConfigurePostGress(IServiceCollection services) { - string connectStr = "Host=81.70.217.145;Port=5432;Database=ShentunPeis;User ID=postgres;Password=shentun123"; + string connectStr = "Host=140.143.162.39;Port=5432;Database=ShentunPeis070703;User ID=postgres;Password=shentun123"; services.Configure(options =>