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 c804d1d2
authored
May 06, 2021
by
fengzhi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.钥匙指令批量日志,crep密文解析
1 parent
c684e72b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
src/main/java/com/glsx/smart/service/impl/AiLockingKeyServiceImpl.java
src/main/java/com/glsx/smart/service/impl/AiLockingKeyServiceImpl.java
View file @
c804d1d
...
@@ -195,7 +195,16 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
...
@@ -195,7 +195,16 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
return
R
.
ok
();
return
R
.
ok
();
}
}
lockingkeyActLogList
.
stream
().
forEach
(
key
->
key
.
setUserId
(
userId
));
lockingkeyActLogList
.
stream
().
forEach
(
key
->{
String
crep
=
""
;
try
{
key
.
setUserId
(
userId
);
crep
=
aesEncryptUtils
.
decrypt
(
key
.
getCrepCode
());
key
.
setCrepCode
(
crep
);
}
catch
(
Exception
e
)
{
throw
new
BusinessException
(
ResultEnum
.
CAR_KEY_EXCEP_4
);
}
});
int
count
=
smartKeyCommandLogService
.
insertBatch
(
lockingkeyActLogList
);
int
count
=
smartKeyCommandLogService
.
insertBatch
(
lockingkeyActLogList
);
...
...
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