|
|
@@ -117,7 +117,7 @@ public class VehicleUploadRequest extends AbstractSignTypeRequest<VehicleUploadR |
|
|
|
validator.validFieldNotNull("axleCount", axleCount); |
|
|
|
} |
|
|
|
// 牵引车必填字段 |
|
|
|
if (useUserType == 0) { |
|
|
|
if (useUserType != 0) { |
|
|
|
validator.validFieldNotBlank("roadTransportPermitPicUrl", roadTransportPermitPicUrl); |
|
|
|
validator.validFieldNotBlank("licenseIdNum",licenseIdNum); |
|
|
|
} |
|
|
@@ -131,12 +131,15 @@ public class VehicleUploadRequest extends AbstractSignTypeRequest<VehicleUploadR |
|
|
|
validator.validFieldNotBlank("ownerIdNum",ownerIdNum); |
|
|
|
validator.validFieldNotBlank("ownerIdAddress",ownerIdAddress); |
|
|
|
validator.validFieldNotBlank("ownerPosImgUrl",ownerPosImgUrl); |
|
|
|
validator.validFieldNotBlank("proxyUrl",proxyUrl); |
|
|
|
|
|
|
|
if (ownerIdType != null && IdType.SFZ.getCode()== ownerIdType){ |
|
|
|
validator.validFieldNotBlank("ownerNegImgUrl",ownerNegImgUrl);// 单位的填不上,个人必填 |
|
|
|
validator.validFieldNotBlank("ownerTel",ownerTel); |
|
|
|
} |
|
|
|
} |
|
|
|
//订单是个人非本人 |
|
|
|
public void ownerValid2(ErrorMsgBuilder validator) { |
|
|
|
validator.validFieldNotBlank("proxyUrl",proxyUrl); |
|
|
|
} |
|
|
|
|
|
|
|
} |