摘要: List subList用法随笔记录 int onceIndex=50;//一页记录数 int subCount = transactionInfos.size();//获取总记录数 int subPageTotal = (subCount / onceIndex) + ((subCount % o 阅读全文
posted @ 2020-05-28 16:10 风中有朵云做的鱼 阅读(331) 评论(0) 推荐(0) 编辑
摘要: java mysql jdbcType类型 对照笔记: 阅读全文
posted @ 2020-05-14 10:21 风中有朵云做的鱼 阅读(228) 评论(1) 推荐(0) 编辑
摘要: 最近安装Elastic Search 不能用root用户启动,所以添加一个新用户 添加用户 useradd esuser 给用户设置密码 passwd esuser 给用户授权操作某个文件夹 chown -R esuser elasticsearch-7.6.1 权限命令含义设置可以参考这个博客 h 阅读全文
posted @ 2020-05-09 10:29 风中有朵云做的鱼 阅读(906) 评论(0) 推荐(0) 编辑
摘要: centos 6.5 安装卸载jdk -- 查看有没有预装jdk版本 java -version -- 查看已安装的版本 rpm -qa|grep java -- 卸载预装版本 rpm -e --nodeps 命令卸载 rpm -e --nodeps java-1.7.0-openjdk-1.7.0 阅读全文
posted @ 2020-05-07 13:34 风中有朵云做的鱼 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 1 public String uploadImg(MultipartFile imgFile, String uploadUrl) throws Exception { 2 3 URL url = new URL(uploadUrl); 4 HttpURLConnection conn = (Ht 阅读全文
posted @ 2020-05-06 17:09 风中有朵云做的鱼 阅读(1648) 评论(0) 推荐(0) 编辑
摘要: 环境:ElasticSearch7.6.2 报这个错误 先看看索引字段 的mapping,然后查看 ElasticSearch 后台运行日志。 如果报这个错误 bug Trying to create too many buckets. Must be less than or equal to: 阅读全文
posted @ 2020-04-28 13:15 风中有朵云做的鱼 阅读(8624) 评论(0) 推荐(0) 编辑