Commit c804d1d2 by fengzhi

1.钥匙指令批量日志,crep密文解析

1 parent c684e72b
......@@ -195,7 +195,16 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
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);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!