From 760eede869d8bc0b1b5a4ff38b2d3d94f5e2cb86 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 04 八月 2021 14:29:15 +0800 Subject: [PATCH] 今日开发 专家派工-没有审批的专家不能派工 意向客户访问新增,短信发送不要红星 合作客户 在客户资料列表增加快捷访问链接 工作报表 修改排版 问题维护 试用法条 改为1000字, 问题查询打开直接默认未审核,不要停两秒再刷新 项目新增 增加字段:采购预算 万元 工作考评 考聘不称职当天无工资 --- zhengcaioa/zhengcaioa/Startup.cs | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Startup.cs b/zhengcaioa/zhengcaioa/Startup.cs index 103fb08..5ead34a 100644 --- a/zhengcaioa/zhengcaioa/Startup.cs +++ b/zhengcaioa/zhengcaioa/Startup.cs @@ -68,10 +68,16 @@ var connectionString = Configuration.GetConnectionString("DefaultConnection"); services.AddDbContext<zhengcaioaContext>(options => - options.UseSqlServer(connectionString)); + options.UseSqlServer(connectionString)); + + var connectionString1 = Configuration.GetConnectionString("zcwebConnection"); + services.AddDbContext<zcwebContext>(options => + options.UseSqlServer(connectionString1)); + 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)); @@ -125,12 +131,33 @@ 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.AddScoped(typeof(IAskService), typeof(AskService)); + + //zcweb + services.AddScoped(typeof(IDtChannelArticleNewsService), typeof(DtChannelArticleNewsService)); //定时执行 services.AddHostedService<TimedBackgroundService>(); + //定时执行 + services.AddHostedService<TimerGetShopUsersService>(); + + services.AddAutoMapper(typeof(AutoMapperConfigs)); services.AddUEditorService("ueditor.json", true, "wwwroot"); services.AddMvc(options =>{ -- Gitblit v1.9.1