This commit is contained in:
YAS\29473
2026-01-09 15:54:38 +08:00
parent 4adf76ff6c
commit 8ace436f2f

View File

@@ -1544,7 +1544,7 @@ public class TempService {
if (StringUtils.isBlank(dto.getPhoneNumber())) { if (StringUtils.isBlank(dto.getPhoneNumber())) {
throw new RuntimeException("请添加要绑定的手机号"); throw new RuntimeException("请添加要绑定的手机号");
} }
if (dto.getCarNumberList().size() == dto.getVinList().size()){ if (dto.getCarNumberList().size() != dto.getVinList().size()){
throw new RuntimeException("车牌号应与车架号对应"); throw new RuntimeException("车牌号应与车架号对应");
} }
for (int i = 0 ; i < dto.getCarNumberList().size() ; i++) { for (int i = 0 ; i < dto.getCarNumberList().size() ; i++) {