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 6f65d44e
authored
Apr 20, 2021
by
fz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.修改请求类参数
1 parent
d6b23fbc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
src/main/java/com/glsx/smart/controller/AiLockingkeyController.java
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyNameRequest.java
src/main/java/com/glsx/smart/pojo/response/SmartCarKeyResponse.java
src/main/java/com/glsx/smart/service/impl/AiLockingKeyServiceImpl.java
src/main/java/com/glsx/smart/controller/AiLockingkeyController.java
View file @
6f65d44
...
@@ -17,7 +17,6 @@ public class AiLockingkeyController {
...
@@ -17,7 +17,6 @@ public class AiLockingkeyController {
//sn查询/新增车钥匙
//sn查询/新增车钥匙
@GetMapping
(
value
=
"/get"
)
@GetMapping
(
value
=
"/get"
)
public
R
getLockingKey
(
SmartCarKeyRequest
request
)
{
public
R
getLockingKey
(
SmartCarKeyRequest
request
)
{
log
.
info
(
"新增车钥匙======"
);
return
aiLockingKeyService
.
getLockingKey
(
request
);
return
aiLockingKeyService
.
getLockingKey
(
request
);
}
}
...
...
src/main/java/com/glsx/smart/pojo/request/SmartCarKeyNameRequest.java
View file @
6f65d44
...
@@ -8,7 +8,7 @@ import lombok.Data;
...
@@ -8,7 +8,7 @@ import lombok.Data;
@Data
@Data
public
class
SmartCarKeyNameRequest
{
public
class
SmartCarKeyNameRequest
{
//昵称
//昵称
private
String
n
ame
;
private
String
keyN
ame
;
private
String
sn
;
private
String
sn
;
...
...
src/main/java/com/glsx/smart/pojo/response/SmartCarKeyResponse.java
View file @
6f65d44
...
@@ -8,8 +8,6 @@ import java.util.Date;
...
@@ -8,8 +8,6 @@ import java.util.Date;
@Data
@Data
public
class
SmartCarKeyResponse
implements
Serializable
{
public
class
SmartCarKeyResponse
implements
Serializable
{
private
Long
id
;
/**
/**
* 用户ID
* 用户ID
*/
*/
...
...
src/main/java/com/glsx/smart/service/impl/AiLockingKeyServiceImpl.java
View file @
6f65d44
...
@@ -163,7 +163,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
...
@@ -163,7 +163,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
@Override
@Override
public
R
setLockingKeyName
(
SmartCarKeyNameRequest
request
)
{
public
R
setLockingKeyName
(
SmartCarKeyNameRequest
request
)
{
SmartVehicleBlueKey
smartVehicleBlueKey
=
new
SmartVehicleBlueKey
();
SmartVehicleBlueKey
smartVehicleBlueKey
=
new
SmartVehicleBlueKey
();
smartVehicleBlueKey
.
setKeyName
(
request
.
getName
());
smartVehicleBlueKey
.
setKeyName
(
request
.
get
Key
Name
());
smartVehicleBlueKeyService
.
updateByExampleSelective
(
smartVehicleBlueKey
,
getExampleBysn
(
request
.
getUserId
(),
request
.
getSn
()));
smartVehicleBlueKeyService
.
updateByExampleSelective
(
smartVehicleBlueKey
,
getExampleBysn
(
request
.
getUserId
(),
request
.
getSn
()));
return
R
.
ok
();
return
R
.
ok
();
}
}
...
...
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