04 2022 档案
java日志框架
摘要:#什么是java日志? java应用程序在运作时 产生的一个叫 log 的事件记录,即xxx.log文件。每一行日志都记载着日期、时间、使用者及动作等相关操作的描述。 ##为什么使用日志 日常开发中,程序并不会每一次都 向着 我们 设想的方向 运行出结果,此时需要搞清楚 程序 运行的每一步具体是什么
阅读全文
power designer : name字段赋值到common字段 脚本
摘要:##脚本 Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl ' the current model ' get the current active model Set mdl = ActiveModel
阅读全文
自定义Spring工具类BeanUtils copyProperties()方法-源bean属性为null时,此属性不进行copy。
摘要:mport java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import org.springframework.beans.BeanUtils; i
阅读全文
雪花算法生成id
摘要:##方法一 import cn.hutool.core.lang.generator.SnowflakeGenerator; import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator; import org.spring
阅读全文