我定义了以下验证器:
@Validations(
customValidators = {
@CustomValidator(fieldName="campaignId", type="long", key="campaign.required", parameters={@ValidationParameter(name="min", value="1")}),
@CustomValidator(fieldName="campaignType", type="long", key="campaignType.required", parameters={@ValidationParameter(name="min", value="1")})
}
)
我只需要在一个操作上跳过“campaignType”参数的验证。我尝试使用@SkipValidation,但它会跳过这两个参数。