04 2022 档案
摘要: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)\]"
阅读全文
摘要:application.yml 配置 com.seliote.twowaysync: datasource: zg: url: jdbc:mysql://192.168.0.1:3306/jd4?useUnicode=true&characterEncoding=utf8&zeroDateTimeB
阅读全文
摘要:/** * 过滤接口函数 * * @param keyExtractor 属性引用 * @param <T> 属性引用泛型 * @return Predicate 函数接口 */ public static <T> Predicate<T> distinctByKey(Function<? supe
阅读全文
摘要:模块化的 Spring Cloud 服务,大部分服务均依赖一个 svr-lib 模块提供 DTO 以及一些过滤器操作,svr-lib 为纯 Maven 模块。 打 JAR 包时无问题。但对单一模块执行 spring-boot:build-image 打包 Docker 镜像时会出现无法找到依赖的问题
阅读全文