上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 46 下一页
摘要: 数组转list 常用分为int[]类型,String[]类型和Integer[]类型 int[] arr 数组转 list List<Integer> listRes = Arrays.stream(arr).boxed().collect(Collectors.toList()); String[ 阅读全文
posted @ 2021-05-12 09:35 白玉神驹 阅读(2827) 评论(0) 推荐(0)
摘要: 背景:版本发布后,旧的分支要改个名字feature-pay-demo-3.3 修改为feature-pay-demo-3.4并删除原分支 1. 修改本地分支名字为 feature-pay-demo-3.4 2. 删除远程分支名字 origin/feature-pay-demo-3.3 3. 推送本地 阅读全文
posted @ 2021-04-30 14:08 白玉神驹 阅读(1858) 评论(0) 推荐(0)
摘要: package com.cmcc.ac.health.pay.util.http; import org.apache.http.Consts; import org.apache.http.HttpEntity; import org.apache.http.HttpStatus; import 阅读全文
posted @ 2021-04-26 21:54 白玉神驹 阅读(355) 评论(0) 推荐(0)
摘要: Java订单过期时间校验 if (userOrder.getPayTime().compareTo(new Date()) < 0) { log.info("订单已超时!"); throw new RestException(HttpStatus.ORDER_IS_TIMEOUT); } 扩展 Si 阅读全文
posted @ 2021-04-20 17:16 白玉神驹 阅读(483) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-04-07 16:28 白玉神驹 阅读(206) 评论(0) 推荐(0)
摘要: 1. 查看docker官网,rancher的版本 hub.docker.com 2. 拉取镜像 docker pull rancher/server 默认最新版 docker pull rancher/server:latest 如拉取指定版本: docker pull rancher/server 阅读全文
posted @ 2021-04-07 15:49 白玉神驹 阅读(874) 评论(0) 推荐(0)
摘要: 使用xshell连接发现ssh被拒绝 原因:root账户默认是不支持远程连接 解决:修改 /etc/ssh/sshd_config文件 注释一行,添加一行即可 然后重启服务:service ssh restart 阅读全文
posted @ 2021-04-02 11:19 白玉神驹 阅读(279) 评论(0) 推荐(0)
摘要: 1. 先拉取一个nacos镜像; docker pull nacos/nacos-server; 如果指定哪个版本则 docker pull nacos/nacos-server:1.2.1; 如果是arm版本 docker pull zhusaidong/nacos-server-m1:2.0.3 阅读全文
posted @ 2021-03-30 15:56 白玉神驹 阅读(1982) 评论(0) 推荐(0)
摘要: 右键已经有的项目 选择从项目中排除就可以了 另一种方式就是把已有的包含main函数的程序注释掉。 阅读全文
posted @ 2021-03-25 23:02 白玉神驹 阅读(734) 评论(0) 推荐(0)
摘要: ①mysql子查询有一种必须要有别名的情况,并且MAX大写也不行,而在postgresql里却可以! 在完成较复杂的数据查询时,经常会使用到子查询,编写子查询语句时,要注意如下事项。 子查询语句可以嵌套在 SQL 语句中任何表达式出现的位置 在 SELECT 语句中,子查询可以被嵌套在 SELECT 阅读全文
posted @ 2021-03-25 14:52 白玉神驹 阅读(215) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 46 下一页