package com.vci.starter.web.annotation.bus;
|
|
import com.vci.starter.web.enumpck.VciChangeDocumentTypeEnum;
|
|
import java.lang.annotation.ElementType;
|
import java.lang.annotation.Retention;
|
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.Target;
|
|
/**
|
* 修改数据之前的执行插件
|
* @author weidy
|
* @date 2020/1/29
|
*/
|
@Target({ ElementType.METHOD})
|
@Retention(RetentionPolicy.RUNTIME)
|
public @interface VciChangeDataBefore {
|
|
/**
|
* 要监听的业务类型的名称
|
* @return 业务类型的名称
|
*/
|
String[] btmType() default "";
|
|
/**
|
* 要监听修改的类型
|
*/
|
VciChangeDocumentTypeEnum[] changeType() default VciChangeDocumentTypeEnum.ALL;
|
}
|