fix 调试
This commit is contained in:
@@ -47,18 +47,18 @@ public class Startup : DefaultStartup
|
||||
|
||||
using var scope = app.ApplicationServices.CreateScope();
|
||||
var factory = Configuration.GetSection("Factory").Value;
|
||||
|
||||
|
||||
var ds = scope.ServiceProvider.GetService<IDataDownloadService>();
|
||||
ds.TruncateAsync().Wait();
|
||||
ds.DownloadAsync<LocalDepartmentEntity>(factory).Wait();
|
||||
ds.DownloadAsync<LocalDeviceEntity>(factory).Wait();
|
||||
ds.DownloadAsync<LocalDeviceRegistryEntity>(factory).Wait();
|
||||
ds.DownloadAsync<LocalBusinessPlaceEntity>(factory).Wait();
|
||||
ds.DownloadAsync<LocalBusinessShiftEntity>(factory).Wait();
|
||||
ds.DownloadAsync<LocalBusinessPlaceShiftRelationshipEntity>(factory).Wait();
|
||||
ds.DownloadAsync<LocalBusinessShiftMealRelationshipEntity>(factory).Wait();
|
||||
|
||||
ds.DownloadAsync<LocalGainfoEntity>(factory).Wait();
|
||||
ds.DownloadAsync<LocalGainfoMealEntity>(factory).Wait();
|
||||
// ds.DownloadAsync<LocalDeviceEntity>(factory).Wait();
|
||||
// ds.DownloadAsync<LocalDeviceRegistryEntity>(factory).Wait();
|
||||
// ds.DownloadAsync<LocalBusinessPlaceEntity>(factory).Wait();
|
||||
// ds.DownloadAsync<LocalBusinessShiftEntity>(factory).Wait();
|
||||
// ds.DownloadAsync<LocalBusinessPlaceShiftRelationshipEntity>(factory).Wait();
|
||||
// ds.DownloadAsync<LocalBusinessShiftMealRelationshipEntity>(factory).Wait();
|
||||
//
|
||||
// ds.DownloadAsync<LocalGainfoEntity>(factory).Wait();
|
||||
// ds.DownloadAsync<LocalGainfoMealEntity>(factory).Wait();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user