审计类:
public class Audit {
private Long createdDateTime;
private Long updatedDateTime;
private String createdBy;
private String updatedBy;
}
实体
public class User extends Audit {
}
有没有办法在 spring redis 中监听实体更新/创建事件?
审计类:
public class Audit {
private Long createdDateTime;
private Long updatedDateTime;
private String createdBy;
private String updatedBy;
}
实体
public class User extends Audit {
}
有没有办法在 spring redis 中监听实体更新/创建事件?