Commit 6b95926b by fengzhi

1.测试问题修复

1 parent 9448ae52
...@@ -88,6 +88,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService { ...@@ -88,6 +88,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
//如果车钥匙有数据,但是crep为空字符串 //如果车钥匙有数据,但是crep为空字符串
if (StringUtils.isEmpty(crepCode)) { if (StringUtils.isEmpty(crepCode)) {
log.warn("getLockingKey===车钥匙为空==userid"+userId,"==sn:"+sn);
throw ChejiaBusinessException.create(ResultEnum.CAR_KEY_CREP_EMPTY); throw ChejiaBusinessException.create(ResultEnum.CAR_KEY_CREP_EMPTY);
} }
...@@ -117,17 +118,6 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService { ...@@ -117,17 +118,6 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
} }
//private SmartVehicleBlueKey getCarKey(CarKeyRequest request) {
// SmartVehicleBlueKeyExample example = smartVehicleBlueKeyService.getBlueKeyExampleByUserAndSn(Long.valueOf(request.getUserId()), request.getSn());
// List<SmartVehicleBlueKey> keyList = smartVehicleBlueKeyService.selectByExample(example);
//
// if (CollectionUtils.isEmpty(keyList)) {
// throw ChejiaBusinessException.create(ResultEnum.CAR_KEY_NOT_EXIST);
// }
//
// return keyList.get(0);
//}
/** /**
* 根据userid注销 * 根据userid注销
...@@ -362,7 +352,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService { ...@@ -362,7 +352,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
} }
}); });
return responseList; return validList;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!