Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6b95926b
authored
May 14, 2021
by
fengzhi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.测试问题修复
1 parent
9448ae52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
src/main/java/cn/com/glsx/smart/modules/service/impl/AiLockingKeyServiceImpl.java
src/main/java/cn/com/glsx/smart/modules/service/impl/AiLockingKeyServiceImpl.java
View file @
6b95926
...
@@ -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
response
List
;
return
valid
List
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment