https://blog.csdn.net/xiaoyao2246/article/details/114749661
一、树节点数据类 import lombok.Getter; import lombok.Setter; import java.util.List; /** * TreeNode 树节点 (定义每一个节点的信息,即每一个节点对应一条数据信息) */ @Setter @Getter public class TreeNode { /** 节点ID …
格式问题,比如数组写出对象了或者对象写成数组了
JDBC写入postgresql json格式出现以下错误: Caused by: org.postgresql.util.PSQLException: ERROR: column "stu_json" is of type json but expression is of type character varying 建议:…
https://mp.weixin.qq.com/s?__biz=MzI4Njc5NjM1NQ==&mid=2247524071&idx=2&sn=673bd494a6395ac1e839afa909447c60&chksm=ebd5a1cbdca228ddaf384faed84fc734ca0387425cc4e33d616087a5ed20a9…
javascript目前已经是一门相当主流的编程语言了,它的异步IO特定项目其他编程语言来说,大大减少了cpu在线程切换方面的速度。实现了单线程高并发的奇迹。而java作为老牌编程语言,在很多的项目中必须使用。 会这两种语言的一定会感叹,javascript中的setTimeout是多么好用,java中通常的作法是开一个新的线程,然后在线程中使用T…
BeanUtils.copyProperties(calendarParam, calendar);
/** * 读取文件内容 * @return String * @author xinhui.chen * @updateTime 2022/9/28 */ private String readFromInputStream(InputStream inputStream) throws IOException { StringBuilder r…
/** * 创建一个临时文件 * @param url 远端文件Url * @return File */ private File getFile(String url) { //对本地文件命名 String fileName = url.substring(url.lastIndexOf("."), url.length()…
package cn.jorian.common.util; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.Mac; import javax.crypto.SecretKey; import javax.crypto.spec.S…