🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
@ValidFromStatic从td_s_static表进行校验 @ValidFromTable指定表进行校验 ``` @ApiModel(description = "订单接收接口请求报文业务参数节点") public class OrderReceiveReq extends ReqBody { private static final long serialVersionUID = 1L; @NotBlank @ValidFromTable("TD_ORD_TRADE_SOURCE.TRADE_SOURCE") @ApiModelProperty(value = "订单来源", required = true, position = 70) private String tradeSource; @ValidFromTable("TD_ORD_TRADE_TOUCH.TOUCH_CODE") @ApiModelProperty(value = "触点编码,为订单来源的第二层级", required = false, position = 80) private String touchCode; @ValidFromStatic("ORD_TRADE_TYPE") @ApiModelProperty(value = "订单类型:01:预约单, 02:预受单", required = false, position = 90) private String tradeKind; //set/get略... } ```