修改库存

This commit is contained in:
韩鹏辉
2024-06-19 16:44:11 +08:00
parent e5f5317f4e
commit 50fa846cf1
31 changed files with 1507 additions and 52 deletions

View File

@@ -0,0 +1,22 @@
package com.chaozhanggui.system.cashierservice.annotation;
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface LimitSubmit {
String key() ;
/**
* 默认 10s
*/
int limit() default 7200;
/**
* 请求完成后 是否一直等待
* true则等待
* @return
*/
boolean needAllWait() default true;
}