摘要: using System;using System.Collections.Generic;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windo 阅读全文
posted @ 2023-12-20 19:17 x欣x 阅读(149) 评论(0) 推荐(0)
摘要: 文件的上传和下载 控制器: /// <summary> /// 上传web文件 /// </summary> /// <param name="files"></param> /// <param name="wellName">井名</param> /// <param name="userNam 阅读全文
posted @ 2023-12-20 19:08 x欣x 阅读(263) 评论(0) 推荐(0)
摘要: 单一索引:只是用某一列数据作为索引,默认是index索引,这一列可以包含重复数据;如果某一列不存在重复数据最好设置成unique形式的索引,比index的索引速度更快,在text数据上要使用fulltext索引。联合索引:为了更进一步提高检索速度,每次检索都需要用多列同时进行时,就可以把这多列设为联 阅读全文
posted @ 2023-12-20 19:08 x欣x 阅读(18) 评论(0) 推荐(0)
摘要: 导入excel/// <summary> /// 导入设计地层单元数据-量纲设置 /// </summary> /// <param name="planId">方案ID</param> /// <param name="lists">录入基本信息</param> /// <param name=" 阅读全文
posted @ 2023-12-20 19:05 x欣x 阅读(31) 评论(0) 推荐(0)
摘要: json中删除一个字段string jsonBody = JsonConvert.SerializeObject(jblist, settings);JArray jsonArray = JArray.Parse(jsonBody); foreach (JObject item in jsonArr 阅读全文
posted @ 2023-12-20 19:00 x欣x 阅读(34) 评论(0) 推荐(0)