@@ -26,8 +26,8 @@ public class VehicleInfoPageRequestDTO extends AbstractBizPageRequestDTO { | |||
@ApiModelProperty(value = "车牌颜色") | |||
private Integer vehiclePlateColor; | |||
@Override | |||
protected void validate(ViolationValidator validator) { | |||
validator.validFieldNotBlank("customerId", getCustomerId()); | |||
} | |||
// @Override | |||
// protected void validate(ViolationValidator validator) { | |||
// validator.validFieldNotBlank("customerId", getCustomerId()); | |||
// } | |||
} |
@@ -28,7 +28,8 @@ public class VehicleInfoManagerImpl extends AbstractCommManager implements Vehic | |||
private WxLoginUserUtil wxLoginUserUtil; | |||
@Override | |||
public Pagination page(VehicleInfoPageRequestDTO dto) throws ManagerException { | |||
dto.validate(); | |||
// dto.validate(); | |||
if (!hasText(dto.getCustomerId())) return new Pagination(); | |||
QtkVehicleInfoPageRequest pageRequest = copyProperties(dto, new QtkVehicleInfoPageRequest()); | |||
Boolean checked = wxLoginUserUtil.checkCustomerInfoAndAccountInfo(dto.getCustomerId(), findAccountInfoByToken(dto.getAccessToken())); | |||
if (checked){ |