liusheng
2024-03-21 c20c99f256e2f47bd45f0b48fb6b1bcc83960f1e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.ruoyi.common.annotation;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 当前数据,是否重复提交
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface NotRepeatCommit {
    String key() default "not_repeat_commit:";
 
    long value() default 10000;
}