This commit is contained in:
Lemon
2023-06-09 16:20:00 +08:00
parent 659bf1c174
commit a795d002d1
2 changed files with 13 additions and 5 deletions

View File

@@ -153,9 +153,7 @@ public class CarVinInfoServiceImpl implements ICarVinInfoService {
if (carVinInfo != null) {
throw new BusinessException(ReturnCodeEnum.CODE_SELECT_INFO_IS_NULL);
}
if (!StringUtils.equals("1", carVinInfo.getStatus())) {
throw new BusinessException("", "");
}
carVinInfo = new CarVinInfo();
// 绑定操作
carVinInfo.setVinCode(dto.getVinCode());
carVinInfo.setStatus("1");