stick-i / spel-validator

一个强大的 Java 参数校验包,基于 SpEL 实现,扩展自 javax.validation 包,用于简化参数校验,几乎支持所有场景下的参数校验。
https://spel-validator.sticki.cn/
Apache License 2.0
118 stars 26 forks source link

feat: 新增SpelMin约束注解 #28

Closed oddfar closed 3 weeks ago

oddfar commented 3 weeks ago

有点问题,大佬修复下

[INFO ][ParamTestBean][4][] - Start checking object: SpelMinTestBean.ParamTestBean(id=4, condition=true, min=1, test=null, testString=2, testBigDecimal=null, testBigInteger=null, testByte=null, testInt=null, testShort=null, testLong=null, testDouble=null, testFloat=null)
[INFO ][ParamTestBean][4][testString] - Expected exception information: testString
[ERROR][ParamTestBean][4][testString] - Excess field
[INFO ][ParamTestBean][4][] - Verification end, number of failures: 1
[INFO ][ParamTestBean][4][] - ------------------------------------------------------------------------