Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 47c00e98
authored
Mar 30, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/v1.5.0' into v1.5.0
2 parents
04ed38aa
fbd5fa15
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/main/java/cn/com/glsx/stdinterface/modules/controller/VehicleController.java
src/main/java/cn/com/glsx/stdinterface/modules/controller/VehicleController.java
View file @
47c00e9
...
@@ -13,7 +13,9 @@ import com.glsx.plat.core.web.R;
...
@@ -13,7 +13,9 @@ import com.glsx.plat.core.web.R;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
import
java.util.List
;
...
@@ -28,7 +30,7 @@ public class VehicleController implements VehicleServiceClient {
...
@@ -28,7 +30,7 @@ public class VehicleController implements VehicleServiceClient {
private
VehicleService
vehicleService
;
private
VehicleService
vehicleService
;
@Override
@Override
public
R
<
VehicleDto
>
getVehicleBySn
(
String
sn
)
{
public
R
<
VehicleDto
>
getVehicleBySn
(
@RequestParam
String
sn
)
{
if
(
StringUtils
.
isBlank
(
sn
))
{
if
(
StringUtils
.
isBlank
(
sn
))
{
return
R
.
ok
(
"vehicle not exist"
);
return
R
.
ok
(
"vehicle not exist"
);
}
}
...
...
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