修改预设校验逻辑 #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
除本身带判空属性的校验逻辑(如
notNull
、notEmpty
等)之外,其他预设的校验逻辑中,去除对null
的判断。当属性值为
null
时,可以直接视为校验通过。若要保证属性值不为null
,需使用notNull
方法添加判空逻辑。