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 8f69b3fe
authored
Apr 26, 2021
by
fz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.车钥匙蓝牙感应列表,业务逻辑修改为根据车钥匙id
1 parent
68cd326a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
1 deletions
src/main/java/com/glsx/smart/dao/mapper/SmartKeyBlueSenseMapper.java
src/main/java/com/glsx/smart/exception/ResultEnum.java
src/main/java/com/glsx/smart/service/SmartKeyBlueSenseService.java
src/main/java/com/glsx/smart/service/impl/AiLockingKeyServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartKeyBlueSenseServiceImpl.java
src/main/resources/mapper/SmartKeyBlueSenseMapper.xml
src/main/java/com/glsx/smart/dao/mapper/SmartKeyBlueSenseMapper.java
View file @
8f69b3f
...
...
@@ -63,4 +63,9 @@ public interface SmartKeyBlueSenseMapper {
* @return update count
*/
int
updateByPrimaryKey
(
SmartKeyBlueSense
record
);
/**
*
*/
List
<
SmartKeyBlueSense
>
getByCarKeyIds
(
List
<
Long
>
ids
);
}
\ No newline at end of file
src/main/java/com/glsx/smart/exception/ResultEnum.java
View file @
8f69b3f
...
...
@@ -29,7 +29,7 @@ public enum ResultEnum {
CAR_KEY_EXCEP_7
(
1107
,
"智能车钥匙secretKey加密异常"
),
CAR_KEY_EXCEP_8
(
1108
,
"智能车钥匙新增异常"
),
CAR_KEY_EXCEP_9
(
1109
,
"智能车钥匙注册成功数据保存,自动感应新增异常"
),
CAR_KEY_EXCEP_10
(
1110
,
"
异常数据,
无crep"
),
CAR_KEY_EXCEP_10
(
1110
,
"
智能车钥匙
无crep"
),
CAR_KEY_EXCEP_11
(
1111
,
"自动感应新增异常"
),
CAR_KEY_EXCEP_12
(
1112
,
"智能车钥匙用户查询,secretKey解密异常"
),
CAR_KEY_EXCEP_13
(
1113
,
"智能车钥匙用户查询,crep/secret加密异常"
),
...
...
src/main/java/com/glsx/smart/service/SmartKeyBlueSenseService.java
View file @
8f69b3f
...
...
@@ -29,6 +29,7 @@ public interface SmartKeyBlueSenseService {
int
updateByPrimaryKey
(
SmartKeyBlueSense
record
);
List
<
SmartKeyBlueSense
>
getByCarKeyIds
(
List
<
Long
>
ids
);
}
...
...
src/main/java/com/glsx/smart/service/impl/AiLockingKeyServiceImpl.java
View file @
8f69b3f
This diff is collapsed.
Click to expand it.
src/main/java/com/glsx/smart/service/impl/SmartKeyBlueSenseServiceImpl.java
View file @
8f69b3f
...
...
@@ -69,6 +69,10 @@ public class SmartKeyBlueSenseServiceImpl implements SmartKeyBlueSenseService {
return
smartKeyBlueSenseMapper
.
updateByPrimaryKey
(
record
);
}
@Override
public
List
<
SmartKeyBlueSense
>
getByCarKeyIds
(
List
<
Long
>
ids
)
{
return
smartKeyBlueSenseMapper
.
getByCarKeyIds
(
ids
);
}
}
...
...
src/main/resources/mapper/SmartKeyBlueSenseMapper.xml
View file @
8f69b3f
This diff is collapsed.
Click to expand it.
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