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
fe42766d
authored
Dec 14, 2023
by
huangjy
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
0d3145a7
05b23963
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
server-module/src/main/java/com/makeit/module/controller/children/alarm/PlatAlarmRecordChildrenController.java
server-service/src/main/java/com/makeit/service/platform/alarm/impl/PlatAlarmRecordServiceImpl.java
server-module/src/main/java/com/makeit/module/controller/children/alarm/PlatAlarmRecordChildrenController.java
View file @
fe42766d
...
@@ -35,7 +35,6 @@ public class PlatAlarmRecordChildrenController {
...
@@ -35,7 +35,6 @@ public class PlatAlarmRecordChildrenController {
@ApiOperation
(
"列表"
)
@ApiOperation
(
"列表"
)
@PostMapping
(
"page"
)
@PostMapping
(
"page"
)
@TenantIdIgnore
@TenantIdIgnore
@AuthIgnore
public
ApiResponseEntity
<
Map
<
String
,
Object
>>
page
(
@RequestBody
PageReqDTO
<
PlatAlarmRecordQueryDTO
>
dto
)
{
public
ApiResponseEntity
<
Map
<
String
,
Object
>>
page
(
@RequestBody
PageReqDTO
<
PlatAlarmRecordQueryDTO
>
dto
)
{
//只能看到发给关联的长者告警
//只能看到发给关联的长者告警
PageVO
<
PlatAlarmRecordVO
>
result
=
platAlarmRecordService
.
childrenPage
(
dto
);
PageVO
<
PlatAlarmRecordVO
>
result
=
platAlarmRecordService
.
childrenPage
(
dto
);
...
...
server-service/src/main/java/com/makeit/service/platform/alarm/impl/PlatAlarmRecordServiceImpl.java
View file @
fe42766d
...
@@ -148,7 +148,7 @@ public class PlatAlarmRecordServiceImpl extends ServiceImpl<PlatAlarmRecordMappe
...
@@ -148,7 +148,7 @@ public class PlatAlarmRecordServiceImpl extends ServiceImpl<PlatAlarmRecordMappe
*/
*/
@Override
@Override
public
PageVO
<
PlatAlarmRecordVO
>
childrenPage
(
PageReqDTO
<
PlatAlarmRecordQueryDTO
>
dto
)
{
public
PageVO
<
PlatAlarmRecordVO
>
childrenPage
(
PageReqDTO
<
PlatAlarmRecordQueryDTO
>
dto
)
{
PlatElderChildrenInfo
platElderChildrenInfo
=
platElderChildrenInfoService
.
getById
(
1734851178514202626L
);
PlatElderChildrenInfo
platElderChildrenInfo
=
platElderChildrenInfoService
.
getById
(
WechatUserUtil
.
getUserId
()
);
List
<
PlatElderChildrenInfo
>
platElderChildrenInfoList
=
getPlatElderChildrenInfosByOpenid
(
platElderChildrenInfo
.
getOpenid
());
List
<
PlatElderChildrenInfo
>
platElderChildrenInfoList
=
getPlatElderChildrenInfosByOpenid
(
platElderChildrenInfo
.
getOpenid
());
log
.
info
(
"子女端账号:{}"
,
JSON
.
toJSONString
(
platElderChildrenInfo
));
log
.
info
(
"子女端账号:{}"
,
JSON
.
toJSONString
(
platElderChildrenInfo
));
if
(
CollectionUtils
.
isEmpty
(
platElderChildrenInfoList
)){
if
(
CollectionUtils
.
isEmpty
(
platElderChildrenInfoList
)){
...
...
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