|
@@ -188,7 +188,7 @@ internal static class StartupExtensions
|
|
|
}
|
|
|
|
|
|
//services.AddScoped(typeof(IUpdateDatabase<>), typeof(UpdateDatabase<>));
|
|
|
- services.AddScoped<IUpdateDatabaseEvent<OrderVisit>, OrderVisitDetailEventHandler>();
|
|
|
+ services.AddScoped<IUpdateDatabaseEvent<OrderVisitDetail>, OrderVisitDetailEventHandler>();
|
|
|
|
|
|
//sqlsugar
|
|
|
services.AddSqlSugar(configuration);
|