fix 调试

This commit is contained in:
2024-06-26 17:17:41 +08:00
parent da1baa62bc
commit ee4dfc5fa5

View File

@@ -47,18 +47,18 @@ public class Startup : DefaultStartup
using var scope = app.ApplicationServices.CreateScope(); using var scope = app.ApplicationServices.CreateScope();
var factory = Configuration.GetSection("Factory").Value; var factory = Configuration.GetSection("Factory").Value;
var ds = scope.ServiceProvider.GetService<IDataDownloadService>(); var ds = scope.ServiceProvider.GetService<IDataDownloadService>();
ds.TruncateAsync().Wait(); ds.TruncateAsync().Wait();
ds.DownloadAsync<LocalDepartmentEntity>(factory).Wait(); ds.DownloadAsync<LocalDepartmentEntity>(factory).Wait();
ds.DownloadAsync<LocalDeviceEntity>(factory).Wait(); // ds.DownloadAsync<LocalDeviceEntity>(factory).Wait();
ds.DownloadAsync<LocalDeviceRegistryEntity>(factory).Wait(); // ds.DownloadAsync<LocalDeviceRegistryEntity>(factory).Wait();
ds.DownloadAsync<LocalBusinessPlaceEntity>(factory).Wait(); // ds.DownloadAsync<LocalBusinessPlaceEntity>(factory).Wait();
ds.DownloadAsync<LocalBusinessShiftEntity>(factory).Wait(); // ds.DownloadAsync<LocalBusinessShiftEntity>(factory).Wait();
ds.DownloadAsync<LocalBusinessPlaceShiftRelationshipEntity>(factory).Wait(); // ds.DownloadAsync<LocalBusinessPlaceShiftRelationshipEntity>(factory).Wait();
ds.DownloadAsync<LocalBusinessShiftMealRelationshipEntity>(factory).Wait(); // ds.DownloadAsync<LocalBusinessShiftMealRelationshipEntity>(factory).Wait();
//
ds.DownloadAsync<LocalGainfoEntity>(factory).Wait(); // ds.DownloadAsync<LocalGainfoEntity>(factory).Wait();
ds.DownloadAsync<LocalGainfoMealEntity>(factory).Wait(); // ds.DownloadAsync<LocalGainfoMealEntity>(factory).Wait();
} }
} }