|
|
@@ -105,10 +105,13 @@ public class RealsePlateRequestDTO extends AbstractBizRequestDTO { |
|
|
|
} |
|
|
|
//个人 |
|
|
|
if (applyType == 1 && isSelf == 2){ |
|
|
|
validator.validFieldNotBlank("ownerName",ownerName); |
|
|
|
validator.validFieldNotBlank("ownerIdNum",ownerIdNum); |
|
|
|
validator.validFieldNotBlank("ownerPosImgUrl",ownerPosImgUrl); |
|
|
|
validator.validFieldNotBlank("ownerNegImgUrl",ownerNegImgUrl); |
|
|
|
validator.validFieldNotNull("isSelf",isSelf); |
|
|
|
if (isSelf == 2) { |
|
|
|
validator.validFieldNotBlank("ownerName", ownerName); |
|
|
|
validator.validFieldNotBlank("ownerIdNum", ownerIdNum); |
|
|
|
validator.validFieldNotBlank("ownerPosImgUrl", ownerPosImgUrl); |
|
|
|
validator.validFieldNotBlank("ownerNegImgUrl", ownerNegImgUrl); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |