- 博客(12)
- 收藏
- 关注
原创 gradle+eclipse
官方网站:https://gradle.org/install/#manually提供了两种下载方式,Binary-only是只下载二进制源码,Complete, with docs and sources是下载源码和文档。如果有阅读文档的需求可以下载第二个,没有需要的下载Binary-only即可。cmd -> gradle -vhttp://dist.springsource.com/release/TOOLS/gradle...
2021-04-27 16:06:36
150
原创 docker+nacos实现多环境启动springboot
—借此dockerfile打镜像FROM registry.cn-sxxxxxxxxxxMAINTAINER danhunsRUN mkdir -p /xxx-serverRUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtimeRUN echo "Asia/Shanghai"ENV TZ=Asia/ShanghaiWORKDIR /xxxserver#借此支持docker run 时动态获取环境变量ENV PARAM
2021-04-07 17:55:52
538
原创 java mysql % 处理
select * from xx where xx like ‘%fdsds%dfd%’%是万能匹配符 中间的也是java .replaceAll("%", “\\%”))执行到mysqlselect * from xx where xx like ‘%%%’执行结果 xxx%xxx
2021-03-25 16:52:14
149
原创 搭建jenkins
1、rpm卸载rpm -e jenkins2、检查是否卸载成功rpm -ql jenkinshttps://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat/链接: https://pan.baidu.com/s/15kG-Jj7ekWTowew5aryyfQ 提取码: e15qjenkins-2.223-1.1.noarch.rpmrpm -ivh jenkins-2.223-1.1.noarch.rpmvi /etc/sysconfig/jenkin
2021-03-02 16:41:01
148
原创 doker安装 拉取 执行
镜像 只读的模板,一个独立的文件系统 包含容器需要的数据容器 镜像的运行实例 简易的环境仓库 存镜像安装docker search xxx 搜索镜像docker pull xxx 拉取镜像docker run xxx 运行容器docker images 查看镜像docker ps 查看容器 -a (所有容器) -q (容器id)docker rmi xxx 移除docker stop /start /run xx xx 启停运行具体操作,以redis为例d
2021-02-01 14:15:14
162
原创 mabatis返回对象中包含list
<resultMap id="SysUserMap" type="com.answer.ai.entity.dto.SysUser"> <!-- 必须写成 <id... /> 而不是 <result column="id" ... /> --> <id property="id" column="id" jdbcType="BIGINT" /> <result column="login_name" property=
2021-02-01 14:12:58
95
原创 动态调用第三方rest soap
<!-- hutool 调用第三方 --> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>4.1.0</version> </dependency>package com.xgit.iot.infra...
2020-11-16 13:49:06
273
原创 json解析样例 获取key value
com.alibaba fastjson 1.2.44 public static List<String> parseApiResult(String result) { if (StringUtils.isBlank(result)) { return null; } if (result instanceof String) { ...
2020-11-16 11:39:04
416
1
原创 eclipse私服更新包、上传包、读取启动文件配置、使用docker
1.从私服上更新maven包1)windows -> show views -> orther -> maven -> maven repositories2)Global Repositories–>私服–>Update index2.读取不同的bootstrap配置run->run conifgura->Profile 天上分支3.远程debugdebug->configur->romete java application-&g
2020-05-29 11:01:00
283
原创 springboot+socketio+动态订阅mqtt
1.手动加事件2.通过注册spring启动https://blog.youkuaiyun.com/zsj777/article/details/83212776
2020-05-09 11:46:49
1283
原创 压缩文件读取
public ErrorCode uploadCompressedFile(MultipartFile file, String groupId, UserDetailDTO userInfo) throws IOException { String path = mocWidgetsGroupMapper.selectGroupPath(groupId); if ...
2020-04-26 13:58:49
170
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人