|
|
@@ -65,9 +65,9 @@ public class ReleasePlateApplyManager extends AbstractAssManager<ReleasePlateApp |
|
|
|
if (req.getApplyType() == 1) { |
|
|
|
//个人申请 |
|
|
|
if (req.getIsSelf() == 1 && !req.getName().equals(req.getVehicleOwnerName())) { |
|
|
|
throw newBusinessException("车主不符,请重新申请"); |
|
|
|
}else if (req.getIsSelf() == 2 && !req.getOwnerIdNum().equals(req.getVehicleOwnerName())){ |
|
|
|
throw newBusinessException("车主不符,请重新申请"); |
|
|
|
throw newBusinessException("车主信息不符,请重新申请"); |
|
|
|
}else if (req.getIsSelf() == 2 && !req.getOwnerName().equals(req.getVehicleOwnerName())){ |
|
|
|
throw newBusinessException("车主信息不符,请重新申请"); |
|
|
|
} |
|
|
|
} else if (!req.getUnitName().equals(req.getVehicleOwnerName())){ |
|
|
|
//单位申请 |