@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) @Documented public @interface PrevUpdate
Modifier and Type | Optional Element and Description |
---|---|
EL[] |
els
执行一个EL表达式,如果返回值不是null,赋值到当前字段
|
boolean |
now
设置为当前时间,通常是updateTime字段
|
boolean |
nullEffective
nullEffective=true时上面的赋值规则要起效必须是在[当前字段==null]时才能生效
|
public abstract EL[] els
Copyright © 2020. All rights reserved.