|
@ -65,6 +65,7 @@ public class GunsValidator extends LocalValidatorFactoryBean {
|
|
|
super.validate(target, errors, validationHints);
|
|
|
} finally {
|
|
|
RequestGroupContext.clear();
|
|
|
RequestParamIdContext.clear();
|
|
|
}
|
|
|
}
|
|
|
|
|
@ -81,7 +82,7 @@ public class GunsValidator extends LocalValidatorFactoryBean {
|
|
|
Object paramId = prop.getReadMethod().invoke(target);
|
|
|
if (paramId != null) {
|
|
|
if (paramId instanceof Long) {
|
|
|
RequestParamIdContext.set((Long) paramId);
|
|
|
return (Long) paramId;
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|