上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: @Getter @Setter @ToString @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "msgId", defaultImpl = Msg 阅读全文
posted @ 2022-07-04 10:10 seliote 阅读(75) 评论(0) 推荐(0)
摘要: package cn.crservice.er.common.annotation; import java.lang.annotation.*; /** * 字典翻译注解 * * @author seliote * @since 2022-05-25 */ @Documented @Target( 阅读全文
posted @ 2022-05-27 17:20 seliote 阅读(284) 评论(0) 推荐(0)
摘要: alias ll='ls -alh --color=auto' alias grep='grep --color=auto' PMT_COLOR="\[$(tput bold)$(tput setab 0)$(tput setaf 2)\]" PMT_RESET="\[$(tput sgr0)\]" 阅读全文
posted @ 2022-04-23 00:02 seliote 阅读(25) 评论(0) 推荐(0)
摘要: application.yml 配置 com.seliote.twowaysync: datasource: zg: url: jdbc:mysql://192.168.0.1:3306/jd4?useUnicode=true&characterEncoding=utf8&zeroDateTimeB 阅读全文
posted @ 2022-04-18 17:38 seliote 阅读(144) 评论(0) 推荐(0)
摘要: /** * 过滤接口函数 * * @param keyExtractor 属性引用 * @param <T> 属性引用泛型 * @return Predicate 函数接口 */ public static <T> Predicate<T> distinctByKey(Function<? supe 阅读全文
posted @ 2022-04-12 19:52 seliote 阅读(18) 评论(0) 推荐(0)
摘要: 模块化的 Spring Cloud 服务,大部分服务均依赖一个 svr-lib 模块提供 DTO 以及一些过滤器操作,svr-lib 为纯 Maven 模块。 打 JAR 包时无问题。但对单一模块执行 spring-boot:build-image 打包 Docker 镜像时会出现无法找到依赖的问题 阅读全文
posted @ 2022-04-10 19:30 seliote 阅读(52) 评论(0) 推荐(0)
摘要: Logback 最大长度 2048 的 '%d{yyyy-MM-dd HH:mm:ss.SSS} %5p [%t] %-40.40logger{39} : %-0.-2048m%n' Log4j 最大长度 2048 的 %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %-5leve 阅读全文
posted @ 2022-03-31 15:09 seliote 阅读(1020) 评论(0) 推荐(0)
摘要: 添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-quartz</artifactId> </dependency> SQL Scheme 可以打开依赖项 org 阅读全文
posted @ 2022-03-29 14:52 seliote 阅读(163) 评论(0) 推荐(0)
摘要: 背景是由于 Linux 下无中文字体,导致写中文乱码,又不想引入环境依赖。 SpringBoot 项目,ttf 或 ttc 文件放置于 resource/font/cn.ttf。 POM 添加打包配置,避免 ttf 文件打包时被处理导致文件 FontFormatException 损坏。 <plug 阅读全文
posted @ 2022-03-29 14:33 seliote 阅读(325) 评论(0) 推荐(0)
摘要: Project POM <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst 阅读全文
posted @ 2022-03-25 16:02 seliote 阅读(15) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 12 下一页