修改参数配置分类参数校验

pull/57/head
Liyanjun 2023-07-03 21:52:06 +08:00
parent e3d26ae2fe
commit 92e26fd63e
1 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@ import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
/**
@ -66,7 +68,7 @@ public class SysConfigTypeParam extends BaseRequest {
/**
*
*/
@NotBlank(message = "配置类型顺序不能为空", groups = {add.class, edit.class})
@NotNull(message = "配置类型顺序不能为空", groups = {add.class, edit.class})
@ChineseDescription("配置类型顺序")
private BigDecimal configTypeSort;