摘要: List<User> lists = new ArrayList<>(); for (int i = 0; i < 40000; i++) { if (i%2 == 0){ lists.add(new User("aa1",1)); }else { lists.add(new User("aa2", 阅读全文
posted @ 2021-06-17 17:37 凌波漫步~ 阅读(3975) 评论(0) 推荐(1)
摘要: long startTime = System.currentTimeMillis(); //获取开始时间doing //你的执行代码long endTime = System.currentTimeMillis(); //获取结束时间System.out.println("程序运行时间:" + ( 阅读全文
posted @ 2021-06-17 10:56 凌波漫步~ 阅读(347) 评论(0) 推荐(0)
摘要: mybatis 必须加上resultType<select id="selectStoreListByCustno" parameterType="java.util.List" resultType="java.util.List"> </select> 阅读全文
posted @ 2021-06-15 18:14 凌波漫步~ 阅读(65) 评论(0) 推荐(0)
摘要: 转载:https://www.cnblogs.com/liangss/p/5120732.html 阅读全文
posted @ 2021-06-15 16:29 凌波漫步~ 阅读(32) 评论(0) 推荐(0)
摘要: 1、表 添加字段(字段类型、长度、默认值、注释) ALTER TABLE 表名 ADD 字段名 字段类型(字段长度) DEFAULT 默认值 COMMENT '注释' 例如:ALTER TABLE order ADD code CHAR(6) DEFAULT NULL COMMENT '优惠码' A 阅读全文
posted @ 2021-06-11 15:13 凌波漫步~ 阅读(143) 评论(0) 推荐(0)
摘要: 在跳转后页面添加:mounted(){this.getList();//重新加载数据}或者activated(){this.getList();//重新加载数据} 阅读全文
posted @ 2021-06-09 11:55 凌波漫步~ 阅读(7590) 评论(0) 推荐(0)
摘要: alter table table1 modify column column1 decimal(10,1) DEFAULT NULL COMMENT '注释'; 阅读全文
posted @ 2021-06-07 18:17 凌波漫步~ 阅读(39) 评论(0) 推荐(0)
摘要: drop table if exists per_manage;create table per_manage ( id varchar(32) comment 'id',hosp_dept_code varchar(32) default null comment '人员编码', name var 阅读全文
posted @ 2021-06-02 11:58 凌波漫步~ 阅读(94) 评论(0) 推荐(0)
摘要: 1、下载kibana:https://www.elastic.co/cn/downloads/kibana(注意要和elasticsearch版本一致) 2、将kibana配置为中文 在config文件下的kibana.yml文件中添加 i18n.locale: "zh-CN" 阅读全文
posted @ 2021-05-31 10:53 凌波漫步~ 阅读(25) 评论(0) 推荐(0)
摘要: 1、下载ik分词器:https://github.com/medcl/elasticsearch-analysis-ik/releases 2、将下载的压缩包放入elasticsearch/plugins里(这里我重命名了一下) 3、配置自己的分词 config目录下IKAnalyzer.cfg.x 阅读全文
posted @ 2021-05-29 17:57 凌波漫步~ 阅读(33) 评论(0) 推荐(0)