上一页 1 2 3 4 5 6 ··· 22 下一页
摘要: 索引 唯一索引: 数据列不允许重复,允许为NULL值,一个表允许多个列创建唯一索引。 可以通过 ALTER TABLE table_name ADD UNIQUE (column); 创建唯一索引 可以通过 ALTER TABLE table_name ADD UNIQUE (column1,col 阅读全文
posted @ 2021-08-12 16:31 夏末、初秋 阅读(39) 评论(0) 推荐(0) 编辑
摘要: JVM的启动参数: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/usr/local/app/oom HeapDumpOnOutOfMemoryError: 在OOM的时候自动dump内存快照出来 HeapDumpPath: 把内存快照放到哪儿去 阅读全文
posted @ 2021-08-12 13:44 夏末、初秋 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 背景: vue 中页面都正常可以编辑,但是有一个地方,就是无法修改,也无法删除. 由于该数据是创建的时候,进行选择某个行,进行把值push到数组中 以下代码就会出现无法编辑 this.form.data.push(row); 修改为以下代码后就可以编辑了 let data = Object.assi 阅读全文
posted @ 2020-12-21 22:02 夏末、初秋 阅读(1776) 评论(0) 推荐(0) 编辑
摘要: 背景 好久没写博客了,最近在玩avue-form 的文件上传,想着百度了好久,真心没有一篇能完整的讲解这个功能,在我的摸索下,想写一篇让有使用这个的兄弟们有个参考。自己也留个笔记。 如何使用avue-form的表单 引用avue-form 的代码 <avue-form :option="imgOpt 阅读全文
posted @ 2020-11-23 17:47 夏末、初秋 阅读(11529) 评论(2) 推荐(0) 编辑
摘要: 由上图的JSON.toJSON替换成Gsons.toJson 原本以为JSON.toJSON是转换成String。实际上不是 JSON.toJSON (转换成JSONObject对象)和Gsons.toJson (转换成String) 由于该map不应该存string ,于是改造成Map docum 阅读全文
posted @ 2020-06-23 17:57 夏末、初秋 阅读(182) 评论(0) 推荐(0) 编辑
摘要: // 如标题,转换失败.map(obj -> (Long) obj) //修改如下 .map(obj -> { if (obj instanceof BigDecimal) { return ((BigDecimal) obj).longValue(); } return (Long) obj; } 阅读全文
posted @ 2020-06-17 09:43 夏末、初秋 阅读(691) 评论(0) 推荐(0) 编辑
摘要: public class test { public static void main(String []args){ String postResult ="{\"code\":200,\"message\":\"success\",\"data\":[{\"name\":\"n1\",\"res 阅读全文
posted @ 2020-06-01 21:31 夏末、初秋 阅读(661) 评论(0) 推荐(0) 编辑
摘要: mongodb 的连接命令 到mongodb的安装bin下执行 ./mongo (默认本地ip+默认端口) mongodb 导出成json文件 mongoexport –db gateway –collection application_log –out C:\Users\dell\Downloa 阅读全文
posted @ 2020-04-16 21:08 夏末、初秋 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 打包时pom.xml文件中不全的配置(会出现打包成的jar包中的lib下没有将第三方的jar打进)配置不全的pom.xml文件: <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>sp 阅读全文
posted @ 2020-04-13 09:15 夏末、初秋 阅读(2902) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-10-09 14:36 夏末、初秋 阅读(0) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 22 下一页