摘要: Dockerfile: # 基础镜像 FROM dockette/openjdk8 # 设定时区 ENV TZ=Asia/Shanghai RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # 阅读全文
posted @ 2024-03-22 10:21 裸奔到月球 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 解决方案一:使用函数ANY_VALUE()包含报错字段 SELECT ANY_VALUE(ID),USER_ID,ANY_VALUE(problems),ANY_VALUE(last_updated_date) FROM t_iov_help_feedback GROUP BY USER_ID; 解 阅读全文
posted @ 2024-03-16 10:06 裸奔到月球 阅读(3) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { LocalDateTime time = LocalDateTime.of(2022,11,30,6,6,6); DateTimeFormatter of = DateTimeFormatter.ofPattern(" 阅读全文
posted @ 2024-03-11 10:04 裸奔到月球 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 但当执行时发现 type 属性也被更新了,且为 int 默认值 0。 一顿百度,什么也没查到之后发现 需要设置 实体类 user 的 type 为 Integer,因为 int 不能为 null,而 Integer 可以。 https://blog.csdn.net/weixin_46376562/ 阅读全文
posted @ 2024-03-11 09:09 裸奔到月球 阅读(16) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/384010862 阅读全文
posted @ 2024-02-28 14:15 裸奔到月球 阅读(7) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh ## java env ## API_NAME : 包名 API_NAME=ds JAR_NAME=`ls $API_NAME*.jar` #PID 代表是PID文件 PID=$API_NAME\.pid #使用说明,用来提示输入参数 usage() { echo "Usage: 阅读全文
posted @ 2024-02-03 14:21 裸奔到月球 阅读(22) 评论(0) 推荐(0) 编辑
摘要: )进入到/etc/rc.d目录 cd /etc/rc.d 2) 修改文件可执行权限,默认情况下是没有该权限的 chmod +x rc.local 3) 编辑rc.local文件,添加需要执行的命令 阅读全文
posted @ 2024-01-31 16:02 裸奔到月球 阅读(71) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/650390185?utm_id=0 1. CompletableFuture 简介 1.1 概述 CompletableFuture是 Java 8 中引入的一个类,它实现了CompletionStage接口,提供了一组丰富的方法来处理异步 阅读全文
posted @ 2024-01-31 09:35 裸奔到月球 阅读(11) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/d94d9f1cf744 阅读全文
posted @ 2024-01-18 17:07 裸奔到月球 阅读(50) 评论(0) 推荐(0) 编辑
摘要: private void printMethod(JoinPoint joinPoint, String name) throws NoSuchMethodException { MethodSignature signature = (MethodSignature) joinPoint.getS 阅读全文
posted @ 2024-01-15 15:51 裸奔到月球 阅读(3) 评论(0) 推荐(0) 编辑