摘要: 内连接查两张表 from oo in query join comany in _companyRepository.GetAll() on oo.OfflineOrder.CompanyId equals comany.Id where comany.IsFamous select oo; Lam 阅读全文
posted @ 2021-09-01 11:22 !opts 阅读(592) 评论(0) 推荐(0) 编辑
摘要: C#面试问题集锦 阅读全文
posted @ 2020-12-19 14:12 !opts 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 通过服务器处理高并发 调整服务器IIS设置 调整IIS 7应用程序池队列长度,由原来的默认1000改为65535。 调整IIS 7的appConcurrentRequestLimit设置 调整machine.config中的processModel>requestQueueLimit的设置 修改注册 阅读全文
posted @ 2020-12-19 14:08 !opts 阅读(102) 评论(0) 推荐(0) 编辑
摘要: //文件转换为字节 public static byte[] File2Bytes(string path) { if (!System.IO.File.Exists(path)) { return new byte[0]; } FileInfo fi = new FileInfo(path); b 阅读全文
posted @ 2020-07-03 16:50 !opts 阅读(115) 评论(0) 推荐(0) 编辑
摘要: WITH(NOLOCK)用法select * from( SELECT case sa.ActivityTimeType when 1 then sc.EndDate else sa.EndDate end as EndDate, sa.BeginDate, si.Sort, case si.Sec 阅读全文
posted @ 2020-07-03 11:35 !opts 阅读(143) 评论(0) 推荐(0) 编辑
摘要: VipTypeNames 会循环调用,导致栈溢出 阅读全文
posted @ 2020-05-23 19:36 !opts 阅读(135) 评论(0) 推荐(0) 编辑
摘要: minDate:最小时间 maxDate:最大时间 <input type="hidden" id="minDateVal" value="@ViewBag.beginDate" /> <input id="input_beginDate" type="text" value="@ViewBag.b 阅读全文
posted @ 2019-12-05 11:34 !opts 阅读(199) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using Quartz;using Quartz.Core;using Quartz.Impl;using Quartz.Impl.Triggers;using Kmmp.Core.Models; name 阅读全文
posted @ 2019-11-02 11:32 !opts 阅读(304) 评论(0) 推荐(0) 编辑
摘要: select Date,ISNULL(NewFans,0) NewFans,ISNULL(NewMembers,0) NewMembers, ISNULL(NewBinds,0) NewBinds, ISNULL(Recharges,0) Recharges, ISNULL(Consume,0) C 阅读全文
posted @ 2019-08-29 15:08 !opts 阅读(169) 评论(0) 推荐(0) 编辑
摘要: /// 取得某月的第一天 /// </summary> /// <param name="datetime">要取得月份第一天的时间</param> /// <returns></returns> private DateTime FirstDayOfMonth(DateTime datetime) 阅读全文
posted @ 2019-07-30 14:16 !opts 阅读(112) 评论(0) 推荐(0) 编辑