Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
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 39aefde2
authored
Aug 20, 2021
by
刘宇峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增车辆-车型管理-返回完整车型树
1 parent
da9a2cfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
src/main/java/cn/com/glsx/admin/modules/controller/VehicleController.java
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
src/main/java/cn/com/glsx/admin/modules/controller/VehicleController.java
View file @
39aefde
...
@@ -176,8 +176,8 @@ public class VehicleController {
...
@@ -176,8 +176,8 @@ public class VehicleController {
@ApiOperation
(
value
=
"车辆品牌系别查询"
)
@ApiOperation
(
value
=
"车辆品牌系别查询"
)
@GetMapping
(
"/brandseries"
)
@GetMapping
(
"/brandseries"
)
public
R
<
List
<
CarBrandSelected
>>
brandsSeries
()
{
public
R
<
List
<
CarBrandSelected
>>
brandsSeries
(
@RequestParam
(
"full"
)
Boolean
full
)
{
List
<
CarBrandSelected
>
carBrandSeriesList
=
vehicleService
.
getCarBrandSeriesList
();
List
<
CarBrandSelected
>
carBrandSeriesList
=
vehicleService
.
getCarBrandSeriesList
(
full
);
return
R
.
ok
().
data
(
carBrandSeriesList
);
return
R
.
ok
().
data
(
carBrandSeriesList
);
}
}
...
...
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
View file @
39aefde
...
@@ -743,7 +743,10 @@ public class VehicleService {
...
@@ -743,7 +743,10 @@ public class VehicleService {
return
new
PageInfo
<>(
list
);
return
new
PageInfo
<>(
list
);
}
}
public
List
<
CarBrandSelected
>
getCarBrandSeriesList
()
{
public
List
<
CarBrandSelected
>
getCarBrandSeriesList
(
Boolean
full
)
{
if
(
full
)
{
return
carbrandService
.
getFullCarInfoForSelected
();
}
return
carbrandService
.
getCarInfoCompleteForSelected
();
return
carbrandService
.
getCarInfoCompleteForSelected
();
}
}
...
...
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