Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9068f922
authored
Sep 19, 2023
by
朱淼
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改bug
parent
f1816774
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletions
server-module/src/main/java/com/makeit/module/controller/dataScreen/DataScreenController.java
server-service/src/main/java/com/makeit/service/platform/dataScreen/DataScreenService.java
server-service/src/main/java/com/makeit/service/platform/dataScreen/impl/DataScreenServiceImpl.java
server-service/src/main/java/com/makeit/vo/platform/dataScreen/PlatAlarmStatisticsVO.java
server-module/src/main/java/com/makeit/module/controller/dataScreen/DataScreenController.java
View file @
9068f922
package
com
.
makeit
.
module
.
controller
.
dataScreen
;
package
com
.
makeit
.
module
.
controller
.
dataScreen
;
import
com.makeit.common.page.PageReqDTO
;
import
com.makeit.common.page.PageVO
;
import
com.makeit.common.response.ApiResponseEntity
;
import
com.makeit.common.response.ApiResponseEntity
;
import
com.makeit.common.response.ApiResponseUtils
;
import
com.makeit.common.response.ApiResponseUtils
;
import
com.makeit.dto.platform.dataScreen.PlatDataScreenQueryDTO
;
import
com.makeit.dto.platform.dataScreen.PlatDataScreenQueryDTO
;
import
com.makeit.dto.platform.space.PlatBedQueryDTO
;
import
com.makeit.module.system.entity.ChinaArea
;
import
com.makeit.module.system.entity.ChinaArea
;
import
com.makeit.service.platform.dataScreen.DataScreenService
;
import
com.makeit.service.platform.dataScreen.DataScreenService
;
import
com.makeit.utils.area.ChinaAreaVO
;
import
com.makeit.utils.area.ChinaAreaVO
;
import
com.makeit.vo.platform.dataScreen.*
;
import
com.makeit.vo.platform.dataScreen.*
;
import
com.makeit.vo.platform.space.PlatBedVo
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -55,6 +59,12 @@ public class DataScreenController {
...
@@ -55,6 +59,12 @@ public class DataScreenController {
return
ApiResponseUtils
.
success
(
dataScreenService
.
alarmStatistics
(
dto
));
return
ApiResponseUtils
.
success
(
dataScreenService
.
alarmStatistics
(
dto
));
}
}
@ApiOperation
(
"实时告警分页列表"
)
@PostMapping
(
"alarmPage"
)
public
ApiResponseEntity
<
PageVO
<
PlatAlarmStatisticsListVo
>>
alarmPage
(
@RequestBody
PageReqDTO
<
PlatDataScreenQueryDTO
>
page
)
{
return
ApiResponseUtils
.
success
(
dataScreenService
.
alarmPage
(
page
));
}
@ApiOperation
(
"机构养老-基础数据统计"
)
@ApiOperation
(
"机构养老-基础数据统计"
)
@PostMapping
(
"baseInfoStatistics"
)
@PostMapping
(
"baseInfoStatistics"
)
public
ApiResponseEntity
<
PlatBaseInfoStatisticsVO
>
baseInfoStatistics
(
@RequestBody
PlatDataScreenQueryDTO
dto
)
{
public
ApiResponseEntity
<
PlatBaseInfoStatisticsVO
>
baseInfoStatistics
(
@RequestBody
PlatDataScreenQueryDTO
dto
)
{
...
...
server-service/src/main/java/com/makeit/service/platform/dataScreen/DataScreenService.java
View file @
9068f922
package
com
.
makeit
.
service
.
platform
.
dataScreen
;
package
com
.
makeit
.
service
.
platform
.
dataScreen
;
import
com.makeit.common.page.PageReqDTO
;
import
com.makeit.common.page.PageVO
;
import
com.makeit.dto.platform.dataScreen.PlatDataScreenQueryDTO
;
import
com.makeit.dto.platform.dataScreen.PlatDataScreenQueryDTO
;
import
com.makeit.utils.area.ChinaAreaVO
;
import
com.makeit.utils.area.ChinaAreaVO
;
import
com.makeit.vo.platform.dataScreen.*
;
import
com.makeit.vo.platform.dataScreen.*
;
...
@@ -26,4 +28,6 @@ public interface DataScreenService {
...
@@ -26,4 +28,6 @@ public interface DataScreenService {
List
<
PlatMapStatisticsVO
>
mapStatistics
(
PlatDataScreenQueryDTO
dto
);
List
<
PlatMapStatisticsVO
>
mapStatistics
(
PlatDataScreenQueryDTO
dto
);
List
<
ChinaAreaVO
>
mapList
(
PlatDataScreenQueryDTO
dto
);
List
<
ChinaAreaVO
>
mapList
(
PlatDataScreenQueryDTO
dto
);
PageVO
<
PlatAlarmStatisticsListVo
>
alarmPage
(
PageReqDTO
<
PlatDataScreenQueryDTO
>
page
);
}
}
server-service/src/main/java/com/makeit/service/platform/dataScreen/impl/DataScreenServiceImpl.java
View file @
9068f922
This diff is collapsed.
Click to expand it.
server-service/src/main/java/com/makeit/vo/platform/dataScreen/PlatAlarmStatisticsVO.java
View file @
9068f922
...
@@ -23,6 +23,6 @@ public class PlatAlarmStatisticsVO {
...
@@ -23,6 +23,6 @@ public class PlatAlarmStatisticsVO {
@ApiModelProperty
(
value
=
"待处理数"
)
@ApiModelProperty
(
value
=
"待处理数"
)
private
Long
unhandledNumber
;
private
Long
unhandledNumber
;
private
List
<
PlatAlarmStatisticsListVo
>
list
;
//
private List<PlatAlarmStatisticsListVo> list;
}
}
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