fix 优化本地离线和在线消费处理
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
using Dlhis.Entity.Device.Entities;
|
||||
using Dlhis.Middle.Entities;
|
||||
using Dlhis.Middle.Services;
|
||||
using Dlhis.Middle.Services.Implements;
|
||||
using Kurisu.AspNetCore.Startup;
|
||||
@@ -49,16 +46,6 @@ public class Startup : DefaultStartup
|
||||
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.InitAsync(factory).Wait();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user