From 2e177c04047f38876f89e5d9ccabcc3bed112727 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 08 七月 2021 15:06:20 +0800
Subject: [PATCH] 今日开发    问题新增   增加是否出书   是否收藏:是、否   每个人的收藏不一样                 档案客户访问:  选择短信内容,然后提交的时候发送短信给客户

---
 zhengcaioa/zhengcaioa/Startup.cs |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Startup.cs b/zhengcaioa/zhengcaioa/Startup.cs
index 182d1fc..58f88ba 100644
--- a/zhengcaioa/zhengcaioa/Startup.cs
+++ b/zhengcaioa/zhengcaioa/Startup.cs
@@ -68,8 +68,12 @@
 
             var connectionString = Configuration.GetConnectionString("DefaultConnection");
             services.AddDbContext<zhengcaioaContext>(options =>
-            options.UseSqlServer(connectionString));
+            options.UseSqlServer(connectionString));            
             services.AddControllersWithViews();
+
+            services.AddScoped(typeof(ISimService), typeof(SimService));
+            services.AddScoped(typeof(IHrSalaryService), typeof(HrSalaryService));
+
             services.AddScoped(typeof(IUserService), typeof(UserService));
             services.AddScoped(typeof(ILiaotianService), typeof(LiaotianService));
             services.AddScoped(typeof(IProjectService), typeof(ProjectService));
@@ -122,7 +126,20 @@
 
             services.AddScoped(typeof(IHrJixiaotichengService), typeof(HrJixiaotichengService));
 
+            services.AddScoped(typeof(IHrSalaryService), typeof(HrSalaryService));
 
+            services.AddScoped(typeof(ICusFangwenjiluService), typeof(CusFangwenjiluService));
+
+            services.AddScoped(typeof(ILZhuanjiahuidumService), typeof(LZhuanjiahuidumService));
+
+            services.AddScoped(typeof(IWfApplytypeService), typeof(WfApplytypeService));
+            services.AddScoped(typeof(IWfRunProcessService), typeof(WfRunProcessService));
+            services.AddScoped(typeof(IWfNeeddeelService), typeof(WfNeeddeelService));
+            services.AddScoped(typeof(IWfHistoryService), typeof(WfHistorieservice));
+            services.AddScoped(typeof(IOrderBanciDtlService), typeof(OrderBanciDtlService));
+            services.AddScoped(typeof(IOrderBanciService), typeof(OrderBanciService));
+            services.AddScoped(typeof(IOrderBanciOrderService), typeof(OrderBanciOrderService));
+            
 
             //定时执行
             services.AddHostedService<TimedBackgroundService>();

--
Gitblit v1.9.1