Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
620c29c1
Commit
620c29c1
authored
Aug 16, 2024
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏-ZL-接口改post
parent
095b2ace
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
EquCategoryVo.java
...oin/amos/boot/module/statistics/api/vo/EquCategoryVo.java
+3
-3
ZLDPStatisticsController.java
...le/statistcs/biz/controller/ZLDPStatisticsController.java
+5
-5
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/java/com/yeejoin/amos/boot/module/statistics/api/vo/EquCategoryVo.java
View file @
620c29c1
...
...
@@ -10,11 +10,11 @@ import java.util.List;
@NoArgsConstructor
public
class
EquCategoryVo
{
public
String
value
;
public
String
title
;
public
String
label
;
public
List
<
EquCategoryVo
>
children
;
public
EquCategoryVo
(
String
title
,
String
value
)
{
this
.
title
=
title
;
public
EquCategoryVo
(
String
label
,
String
value
)
{
this
.
label
=
label
;
this
.
value
=
value
;
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/ZLDPStatisticsController.java
View file @
620c29c1
...
...
@@ -123,13 +123,13 @@ public class ZLDPStatisticsController {
/**
* 根据设备种类code获取设备类别下拉
*
* @param
equListCode
设备种类code
* @param
paramDto
设备种类code
* @return 设备类别列表
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@
Ge
tMapping
(
value
=
"/getEquCategoryList"
)
@ApiOperation
(
httpMethod
=
"
GE
T"
,
value
=
"根据设备种类code获取设备类别下拉"
,
notes
=
"根据设备种类code获取设备类别下拉"
)
public
ResponseModel
<
List
<
EquCategoryVo
>>
getEquCategoryTree
(
String
equListCode
){
return
ResponseHelper
.
buildResponse
(
statisticsService
.
getEquCategoryList
(
equListCode
));
@
Pos
tMapping
(
value
=
"/getEquCategoryList"
)
@ApiOperation
(
httpMethod
=
"
POS
T"
,
value
=
"根据设备种类code获取设备类别下拉"
,
notes
=
"根据设备种类code获取设备类别下拉"
)
public
ResponseModel
<
List
<
EquCategoryVo
>>
getEquCategoryTree
(
@RequestBody
DPFilterParamForDetailDto
paramDto
){
return
ResponseHelper
.
buildResponse
(
statisticsService
.
getEquCategoryList
(
paramDto
.
getTreeValue
()
));
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment