摘要: PUT xxx_index-000009/_mapping/_doc?include_type_name=true { "properties":{ "xxx.pic_url":{ "type": "keyword" } }} 查看索引字段 GET xxx_index-000009/_mapping 阅读全文
posted @ 2021-11-16 09:31 ExpectoPatronum—S 阅读(157) 评论(0) 推荐(0) 编辑
摘要: //将sql查询出的List<XXXInfo>转换成List<YYYVO>List<XXXInfo> XXXInfoList = pageInfo.getList();List<YYYVO> YYYVO = XXXInfoList.stream().map(XXXInfo -> { YYYVO yy 阅读全文
posted @ 2020-12-23 16:00 ExpectoPatronum—S 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 1.卸载python(防止未卸载干净) rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps #强制删除已安装程序及其关联 whereis python|xargs rm -frv #删除所有残余文件 #xargs,允许你对输出执行其他某些命 阅读全文
posted @ 2020-11-24 14:02 ExpectoPatronum—S 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 1.备份原文件 首先进入/etc/yum.repos.d/目录下,新建一个repo_bak目录,用于保存系统中原来的repo文件 [root@bogon ~]# cd /etc/yum.repos.d/ [root@bogon yum.repos.d]# mkdir repo_bak [root@b 阅读全文
posted @ 2020-11-13 10:24 ExpectoPatronum—S 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 创建文件夹 mkdir /usr/local/java/ 解压你的压缩包 unzip xxx.zip -d /usr/local/java/ 设置环境变量 vim /etc/profile 在文件末尾,粘贴 export PATH=${MAVEN_HOME}/bin:${PATH} export J 阅读全文
posted @ 2020-11-12 15:46 ExpectoPatronum—S 阅读(58) 评论(0) 推荐(0) 编辑
摘要: Js文件中 import request from "../utils/request-flask-filedown"; //切图下载 export function downloadMaps(params) { return request({ url: 'gh/cloud/dec/map/pro 阅读全文
posted @ 2020-10-22 10:50 ExpectoPatronum—S 阅读(2518) 评论(0) 推荐(0) 编辑
摘要: 通过我海明哥解决的,他加了红色字体部分 就搞定了 <mirrors> <mirror> <id>nexus-aliyun</id> <mirrorOf>*,central,!nexus,!dev,!repository,!public</mirrorOf> <name>Nexus aliyun</n 阅读全文
posted @ 2020-10-13 09:16 ExpectoPatronum—S 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 本地的commit 本地仓库有文件,远程仓库也有文件,正确姿势: 1,git remote add origin 远程仓库地址 2,git pull origin master --allow-unrelated-histories 3,git branch --set-upstream-to=or 阅读全文
posted @ 2020-09-07 16:16 ExpectoPatronum—S 阅读(843) 评论(0) 推荐(0) 编辑
摘要: public void insertSelective(List<SsoNews> ssoNews) { //限制条数 int pointsDataLimit = 1000; Integer size = ssoNews.size(); //判断是否有必要分批 if(pointsDataLimit< 阅读全文
posted @ 2020-08-25 09:27 ExpectoPatronum—S 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 使用window.history.go(-1)返回上页的同时 断页面是通过链接打开还是通过后退按钮返回打开的?加入以下代码: 引用内容: window.addEventListener('pageshow', function (event) { if(event.persisted || wind 阅读全文
posted @ 2020-06-05 17:47 ExpectoPatronum—S 阅读(1164) 评论(0) 推荐(0) 编辑