feat: v4.5.0 包结构迁移、MyBatis-Plus 自动填充、Jackson 3.x 适配
- common.annotation -> framework.annotation(DataPermission/Log/RateLimit/RepeatSubmit/ValidField) - common.base.BaseEntity -> framework.base.BaseEntity(含 createTime/updateTime 自动填充注解) - BaseQuery/IBaseEnum 保留在 common.base(无框架依赖) - AutoFillMetaObjectHandler 实现 createTime/updateTime/createBy/updateBy 自动填充 - 实体类(Dept/Role/Config/DictItem/Notice/SysUser)添加 createBy/updateBy @TableField(fill=...) - Jackson 注解使用 com.fasterxml.jackson.annotation(2.x 兼容层),databind/core 使用 tools.jackson(3.x) - 代码生成模板 entity.java.vm/form.java.vm 包路径同步更新 - 删除冗余 UserService default 方法、DataPermissionException、DictChangeEvent event 包 - 版本号 4.4.0 -> 4.5.0
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
package com.youlai.boot.common.annotation;
|
||||
|
||||
import com.youlai.boot.common.enums.ActionTypeEnum;
|
||||
import com.youlai.boot.common.enums.LogModuleEnum;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* 日志注解
|
||||
*
|
||||
* @author Ray.Hao
|
||||
* @since 3.0.0
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.METHOD)
|
||||
@Documented
|
||||
public @interface Log {
|
||||
|
||||
/**
|
||||
* 模块
|
||||
*
|
||||
* @return 模块
|
||||
*/
|
||||
LogModuleEnum module();
|
||||
|
||||
/**
|
||||
* 操作类型
|
||||
*
|
||||
* @return 操作类型
|
||||
*/
|
||||
ActionTypeEnum value();
|
||||
|
||||
/**
|
||||
* 操作标题(可选,默认使用枚举描述)
|
||||
*
|
||||
* @return 标题
|
||||
*/
|
||||
String title() default "";
|
||||
|
||||
/**
|
||||
* 自定义日志内容(可选,用于记录操作细节)
|
||||
*
|
||||
* @return 日志内容
|
||||
*/
|
||||
String content() default "";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user