摘要: 索引的概念 索引是一种特殊的文件(InnoDB数据表上的索引是表空间的一个组成部分),包含着对数据表里所有记录的引用指针。通俗的来讲,数据库索引好比是一本书前面的目录,能加快数据库的查询速度。在没有索引的情况下,数据库会遍历全部数据后选择符合条件的;而有了相应的索引之后,数据库会直接在索引中查找符合 阅读全文
posted @ 2023-05-31 22:20 旧夏潜入梦 阅读(107) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 使用https post 调用接口 /// </summary> /// <param name="url">接口地址</param> /// <param name="pm_str">参数</param> /// <param name="pm_ContentT 阅读全文
posted @ 2021-12-31 10:55 旧夏潜入梦 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 对接第三方接口,接口返回来的参数是经过 RAS 分段式 算法 加密后的,采用私钥加密,公钥解密,第三方提供公钥; 参考资料地址: https://www.cnblogs.com/datous/p/RSAKeyConvert.html https://www.bbsmax.com/A/RnJW6B4O 阅读全文
posted @ 2021-12-17 09:18 旧夏潜入梦 阅读(956) 评论(0) 推荐(0) 编辑
摘要: 使用 NPOI 插件 //不带样式 public static string ToExcle(List<DataTable> datas, string fileName = "report", string exportpath = "", int from = 1) { //获取文件物理路径 s 阅读全文
posted @ 2021-09-11 11:22 旧夏潜入梦 阅读(33) 评论(0) 推荐(0) 编辑
摘要: public static List<T> DatatTable_ToList<T>(DataTable dt) where T : class, new() { int a = 0; int b = 0; try { List<T> ts = new List<T>(); if (dt != nu 阅读全文
posted @ 2021-09-11 11:01 旧夏潜入梦 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-09-10 16:54 旧夏潜入梦 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://www.cnblogs.com/xunyi/p/7499389.html -- 新建序列表 drop table if exists sequence; create table sequence ( seq_name VARCHAR(50) NOT NULL, -- 序列 阅读全文
posted @ 2021-09-10 16:46 旧夏潜入梦 阅读(402) 评论(0) 推荐(0) 编辑
摘要: public static string GetAddressIP() { ///获取本地的IP地址 string AddressIP = string.Empty; HttpContextAccessor context = new HttpContextAccessor(); AddressIP 阅读全文
posted @ 2021-09-08 09:21 旧夏潜入梦 阅读(60) 评论(0) 推荐(0) 编辑
摘要: --1.创建测试表 create table #score ( name varchar(20), subject varchar(20), score int ) --2.插入测试数据 insert into #score(name,subject,score) values('张三','语文', 阅读全文
posted @ 2020-04-30 15:16 旧夏潜入梦 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 参考资料: 部署:https://jingyan.baidu.com/article/20095761c67177cb0721b48d.html HTTP错误500.19 -Internal Server Error:https://jingyan.baidu.com/article/8ebacdf 阅读全文
posted @ 2019-12-31 17:30 旧夏潜入梦 阅读(1390) 评论(0) 推荐(0) 编辑