注释类型 PreUpdate


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface PreUpdate
执行更新前执行此注解下的方法,无入参。适用于更新日期的更新
只会在调用下面的方法后回调:
{
     mapperManage.insert(entity);
     mapperManage.updateById(entity);
 }
 
作者:
lingkang Created by 2024/3/2