|
|
@@ -27,7 +27,7 @@ public class RenewalConfirmRequestDTO extends AbstractBizRequestDTO { |
|
|
|
|
|
|
|
@ApiModelProperty(value = "续期指令步骤") |
|
|
|
@NotNull(message = "续期指令步骤不能为空") |
|
|
|
private Integer stepOrder;// |
|
|
|
private Integer stepNo;// |
|
|
|
|
|
|
|
@ApiModelProperty(value = "续期类型,1-卡签续期,2-卡续期,3-签续期") |
|
|
|
@NotNull(message = "续期类型不能为空") |
|
|
@@ -47,7 +47,7 @@ public class RenewalConfirmRequestDTO extends AbstractBizRequestDTO { |
|
|
|
|
|
|
|
@Override |
|
|
|
protected void validate(ViolationValidator validator) { |
|
|
|
validator.validField("stepOrder", stepOrder != 100, "卡签续期指令步骤未结束"); |
|
|
|
validator.validField("stepNo", stepNo != 100, "卡签续期指令步骤未结束"); |
|
|
|
if (renewalType == 1){ |
|
|
|
validator.validFieldNotBlank("cardId", cardId); |
|
|
|
validator.validFieldNotBlank("obuId", obuId); |