|
|
@ -60,13 +60,13 @@ public class ValidatorUtils { |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
// 1.校验客户端显示分组
|
|
|
|
if (!CollectionUtils.isEmpty(customerShowGroups)) { |
|
|
|
// 1.校验客户端显示分组
|
|
|
|
validate(EpmetErrorCode.CUSTOMER_VALIDATE_ERROR ,object, customerShowGroups.toArray(new Class<?>[customerShowGroups.size()])); |
|
|
|
} else { |
|
|
|
// 2.内部校验分组
|
|
|
|
validate(EpmetErrorCode.INTERNAL_VALIDATE_ERROR ,object, internalGroups.toArray(new Class<?>[customerShowGroups.size()])); |
|
|
|
} |
|
|
|
|
|
|
|
// 2.内部校验分组
|
|
|
|
validate(EpmetErrorCode.INTERNAL_VALIDATE_ERROR ,object, internalGroups.toArray(new Class<?>[customerShowGroups.size()])); |
|
|
|
} |
|
|
|
|
|
|
|
private static Validator getValidator() { |
|
|
|