摘要: File(sFileName, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");application/vnd.ms-excel 阅读全文
posted @ 2021-01-27 15:32 不知勿言 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 使用excel模板导出数据时,模板可填充的数据行有限,可通过ShiftRows插入行,如图,在第七行后插入新行,要求新行包含原有样式 插入后 首先添加npoi类库引用 /// <summary> /// NPOI使用ShiftRows向excel插入行,并复制原有样式 /// </summary> 阅读全文
posted @ 2020-12-27 14:50 不知勿言 阅读(2526) 评论(0) 推荐(0) 编辑
摘要: //异常提示:ICSharpCode.SharpZipLib.Zip.ZipException: EOF in header NPOIMemoryStream stream = new NPOIMemoryStream(); using (var fileStream = File.Open(fil 阅读全文
posted @ 2020-12-27 11:01 不知勿言 阅读(6770) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-03 22:18 不知勿言 阅读(74) 评论(0) 推荐(0) 编辑
摘要: elasticsearch配置 https://jingyan.baidu.com/article/36d6ed1f9c85a01bce488343.html 或者下载 tar.gz 压缩包 tar -xzvf 压缩包名称 跳转到压缩目录运行elasticsearch提示: can not run 阅读全文
posted @ 2020-11-02 16:51 不知勿言 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 编辑 /etc/profile文件 追加 export JAVA_HOME="/opt/jdk1.8.0_261" export PATH="$JAVA_HOME/bin:$PATH" export CLASSPATH=".:$JAVA_HOME/lib" 最后执行 source /etc/prof 阅读全文
posted @ 2020-10-16 14:15 不知勿言 阅读(85) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/omage/article/details/105032151 阅读全文
posted @ 2020-10-15 15:05 不知勿言 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 按Ctrl+K,Ctrl+S 调出Visual Studio Code 设置快捷键,点击下面的标红的区域,调出快捷键文本配置 输入配置: { "key": "ctrl+k", "command": "workbench.action.terminal.clear", "when": "termina 阅读全文
posted @ 2020-10-15 14:43 不知勿言 阅读(618) 评论(0) 推荐(0) 编辑
摘要: https://q.cnblogs.com/q/115390/ 阅读全文
posted @ 2020-10-14 10:28 不知勿言 阅读(648) 评论(0) 推荐(0) 编辑
摘要: select GROUP_CONCAT(CONCAT('i.',COLUMN_NAME,''))from(select COLUMN_NAME from information_schema.COLUMNS where table_name = 'inventorycheck' and table_ 阅读全文
posted @ 2020-09-27 16:18 不知勿言 阅读(899) 评论(0) 推荐(0) 编辑