会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Expecto Patronum
你需要不停地变好,而不是一直后悔。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2021年11月16日
ElasticSearch增加索引字段
摘要: 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
阅读(174)
评论(0)
推荐(0)
2020年12月23日
List实体中不同字段值的转换
摘要: //将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
阅读(301)
评论(0)
推荐(0)
2020年11月24日
Yum安装,Linux自带Python卸载 安装
摘要: 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
阅读(539)
评论(0)
推荐(0)
2020年11月13日
CentOS7系统配置国内yum源和epel源
摘要: 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
阅读(196)
评论(0)
推荐(0)
2020年11月12日
Centos7安装jdk1.8
摘要: 创建文件夹 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
阅读(65)
评论(0)
推荐(0)
2020年10月22日
VUE下载文件,下载后台返回的response
摘要: 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
阅读(2624)
评论(0)
推荐(0)
2020年10月13日
SpringBoot Maven不自动下载问题
摘要: 通过我海明哥解决的,他加了红色字体部分 就搞定了 <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
阅读(741)
评论(0)
推荐(0)
2020年9月7日
requested upstream branch 'origin/master' does not exist
摘要: 本地的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
阅读(867)
评论(0)
推荐(0)
2020年8月25日
Mybatis 分批次新增插入数据
摘要: public void insertSelective(List<SsoNews> ssoNews) { //限制条数 int pointsDataLimit = 1000; Integer size = ssoNews.size(); //判断是否有必要分批 if(pointsDataLimit<
阅读全文
posted @ 2020-08-25 09:27 ExpectoPatronum—S
阅读(488)
评论(0)
推荐(0)
2020年6月5日
window.history.go 返回上一页 并判断是否后退的 然后决定是否刷新
摘要: 使用window.history.go(-1)返回上页的同时 断页面是通过链接打开还是通过后退按钮返回打开的?加入以下代码: 引用内容: window.addEventListener('pageshow', function (event) { if(event.persisted || wind
阅读全文
posted @ 2020-06-05 17:47 ExpectoPatronum—S
阅读(1224)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告