随笔分类 -  Java

摘要:SELECT TO_NCHAR(a) AS a_nvarchar2, TO_NCHAR(b) AS b_nvarchar2 FROM c; 阅读全文
posted @ 2024-11-18 16:56 这都没什么 阅读(45) 评论(0) 推荐(0) 编辑
摘要:@Component public class SpringContextUtils implements ApplicationContextAware, EnvironmentAware { private static ApplicationContext applicationContext 阅读全文
posted @ 2024-05-15 17:22 这都没什么 阅读(80) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/1657974/202307/1657974-20230728113425206-1572997502.png) ![](https://img2023.cnblogs.com/blog/1657974/202307/1657 阅读全文
posted @ 2023-07-28 11:35 这都没什么 阅读(20) 评论(0) 推荐(0) 编辑
摘要:pom.xml ``` com.github.ulisesbocchio jasypt-spring-boot-starter 3.0.5 ``` application.yml ``` jasypt: encryptor: password: xxx algorithm: PBEWITHHMACS 阅读全文
posted @ 2023-06-08 16:44 这都没什么 阅读(83) 评论(0) 推荐(0) 编辑
摘要:简介: docker使用openJDK导致Excel导出问题 问题:本地环境导出Excel正常,测试环境导出Excel失败 后来打印了对象发现并不是这个原因导致的空指针 解决办法 经排查发现开发项目的时候都是基于OracleJDK 1.8来做的,FontConfig组件可以正常运行。但是发布到doc 阅读全文
posted @ 2023-04-07 08:50 这都没什么 阅读(340) 评论(0) 推荐(0) 编辑
摘要:BaseRequest @JsonProperty("TokenId") private String tokenId; @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @JsonDeserialize(using = LocalDate 阅读全文
posted @ 2022-11-30 09:30 这都没什么 阅读(13) 评论(0) 推荐(0) 编辑
摘要:用get方式传会把+号改成空格‘ ’ 阅读全文
posted @ 2022-11-21 10:22 这都没什么 阅读(14) 评论(0) 推荐(0) 编辑
摘要:public static List<String> getDuplicateElements(List<UnionResponseData> unionResponseData) { return unionResponseData.stream() .collect(Collectors.toM 阅读全文
posted @ 2022-10-31 11:22 这都没什么 阅读(88) 评论(0) 推荐(0) 编辑
摘要:git init --初始化本地仓库 git add . --添加暂存态 git commit -m '提交信息' --提交信息 git checkout -f HEAD --检出本地仓库 #远程仓库操作命令 建立连接:git remote add origin url 推送代码:git push 阅读全文
posted @ 2022-01-16 14:28 这都没什么 阅读(46) 评论(0) 推荐(0) 编辑
摘要:在resources下新建META-INF包 创建名字叫做 spring.factories的文件 org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ com.xyarch.server.common.dataCodes. 阅读全文
posted @ 2021-12-15 22:10 这都没什么 阅读(178) 评论(0) 推荐(0) 编辑
摘要:public static <T> T getSearchData(Map<String, Object> params, Class<T> tClass) { try { ObjectMapper mapper = new ObjectMapper(); T searchData; Object 阅读全文
posted @ 2021-12-15 22:05 这都没什么 阅读(210) 评论(0) 推荐(0) 编辑
摘要:假设分支名称为oldName 想要修改为 newName 1.本地分支重命名(还没有推送到远程) git branch -m oldName newName 2.远程分支重命名 (已经推送远程-假设本地分支和远程对应分支名称相同) 重命名远程分支对应的本地分支 git branch -m oldNa 阅读全文
posted @ 2021-12-13 14:39 这都没什么 阅读(462) 评论(0) 推荐(0) 编辑
摘要:####1 我们常用的日志log <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core --> <dependency> <groupId>org.apache.logging.log4j</group 阅读全文
posted @ 2021-11-21 20:04 这都没什么 阅读(1299) 评论(0) 推荐(1) 编辑
摘要:原文:https://javadoop.com/post/spring-ioc name: spring-ioc title: Spring IOC 容器源码分析 date: 2021-11-20 22:38:07 tags: categories: open-source Spring 最重要的概 阅读全文
posted @ 2021-11-20 22:40 这都没什么 阅读(39) 评论(0) 推荐(0) 编辑
摘要:public class SerIncreaseUtils { /** * @param currNum 传入num值 * @return 返回一个8为的String,例00000001 */ public static String getSerID(long currNum) { // 八位流水 阅读全文
posted @ 2021-11-14 20:46 这都没什么 阅读(60) 评论(0) 推荐(0) 编辑
摘要:@Component public class GetBeanUtils implements ApplicationContextAware { private static ApplicationContext applicationContext = null; public static A 阅读全文
posted @ 2021-11-14 11:06 这都没什么 阅读(77) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_30059235/article/details/108562275 #####1. maven报错 因为是聚合工程,每个子模块的pom里面都有个 <parent> <groupId>com.xxx</groupId> <artifactId>xxx 阅读全文
posted @ 2021-07-17 13:53 这都没什么 阅读(1895) 评论(0) 推荐(0) 编辑
摘要:删除本地分支 git branch -D feature-faultFlow 删除远程分支 git push origin --delete feature-faultFlow 阅读全文
posted @ 2021-07-01 10:18 这都没什么 阅读(40) 评论(0) 推荐(0) 编辑
摘要:for(var i=0;i<5;i++){ alert(1); } 第一步 》初始化i(初始化只在for循环中执行一次); 第二步 》执行条件i<5,自动判断当前条件是否成立,如果成立,执行第三步; 第三步 》执行大括号内的代码; 第四步 》i自增,然后回到第二步继续判断条件是否成立,如果条件成立继 阅读全文
posted @ 2021-01-15 13:58 这都没什么 阅读(458) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/harrychinese/p/springboot_logging.html 阅读全文
posted @ 2020-12-22 13:40 这都没什么 阅读(586) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示