漏提交-自定义注解
This commit is contained in:
@ -0,0 +1,11 @@
|
|||||||
|
package com.xzzn.common.annotation;
|
||||||
|
|
||||||
|
import java.lang.annotation.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 标记:调用insert后需要同步数据到其他服务器
|
||||||
|
*/
|
||||||
|
@Target(ElementType.METHOD)
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
public @interface SyncAfterInsert {
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user