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
315be5ef
Commit
315be5ef
authored
Jun 26, 2025
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询设备分类接口
parent
1a87284a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
ComprehensiveStatisticalAnalysisController.java
...ontroller/ComprehensiveStatisticalAnalysisController.java
+3
-5
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/ComprehensiveStatisticalAnalysisController.java
View file @
315be5ef
...
...
@@ -6,7 +6,6 @@ import com.yeejoin.amos.boot.module.statistcs.biz.service.impl.ComprehensiveStat
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
...
@@ -35,6 +34,7 @@ public class ComprehensiveStatisticalAnalysisController extends BaseController {
/**
* 查询设备分类
*
* @param category
* @return
*/
...
...
@@ -42,10 +42,8 @@ public class ComprehensiveStatisticalAnalysisController extends BaseController {
@PostMapping
(
value
=
"/select/equipmentCategory"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"查询设备分类"
,
notes
=
"查询设备分类"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
queryEquipmentCategory
(
@RequestBody
JSONObject
category
)
{
if
(
ObjectUtils
.
isEmpty
(
category
)
||
category
.
getString
(
"key"
)
==
null
){
return
null
;
}
return
ResponseHelper
.
buildResponse
(
comprehensiveStatisticalAnalysisServiceImpl
.
queryEquipmentCategory
(
category
.
getString
(
"key"
)));
String
key
=
category
.
getString
(
"key"
)
==
null
?
null
:
category
.
getString
(
"key"
);
return
ResponseHelper
.
buildResponse
(
comprehensiveStatisticalAnalysisServiceImpl
.
queryEquipmentCategory
(
key
));
}
...
...
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