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
dca38c40
authored
Sep 07, 2023
by
杨伟程
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
小程序报错
parent
75dd95d9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
2 deletions
server-service/src/main/java/com/makeit/service/platform/elder/impl/PlatElderServiceImpl.java
server-web/src/main/resources/application-dev.yml
server-web/src/main/resources/application-test.yml
server-service/src/main/java/com/makeit/service/platform/elder/impl/PlatElderServiceImpl.java
View file @
dca38c40
...
...
@@ -187,6 +187,27 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
return
vo
;
});
JoinUtil
.
join
(
list
,
platSpaceService
,
Arrays
.
asList
(
PlatElderExportVO:
:
getStreetSpaceId
,
PlatElderExportVO:
:
getBuildingSpaceId
,
PlatElderExportVO:
:
getUnitSpaceId
,
PlatElderExportVO:
:
getFloorSpaceId
),
Arrays
.
asList
(
(
e
,
s
)
->
e
.
setStreetSpaceName
(
s
.
getName
()),
(
e
,
s
)
->
e
.
setBuildingSpaceName
(
s
.
getName
()),
(
e
,
s
)
->
e
.
setUnitSpaceName
(
s
.
getName
()),
(
e
,
s
)
->
e
.
setFloorSpaceName
(
s
.
getName
())
));
JoinUtil
.
join
(
list
,
platRoomService
,
PlatElderExportVO:
:
getRoomId
,
(
e
,
l
)
->
{
e
.
setRoomName
(
l
.
getName
());
});
JoinUtil
.
join
(
list
,
platBedService
,
PlatElderExportVO:
:
getBedId
,
(
e
,
l
)
->
{
e
.
setBedName
(
l
.
getName
());
});
ExcelUtil
.
export
(
response
,
"长者信息"
+
FileSuffixEnum
.
EXCEL
.
getSuffix
(),
PlatElderExportVO
.
class
,
list
);
}
...
...
server-web/src/main/resources/application-dev.yml
View file @
dca38c40
...
...
@@ -124,7 +124,7 @@ wx:
miniapp
:
config
:
appid
:
wx48720402e3fdbe0f
#微信小程序的appid
secret
:
2
cdf04b11dce20f48402a1fef1cc9842
#微信小程序的Secret
secret
:
2
ebae648f45716e70c75b7d78d0660cc
#微信小程序的Secret
token
:
#微信小程序消息服务器配置的token
aesKey
:
#微信小程序消息服务器配置的EncodingAESKey
msgDataFormat
:
JSON
\ No newline at end of file
server-web/src/main/resources/application-test.yml
View file @
dca38c40
...
...
@@ -121,7 +121,7 @@ wx:
miniapp
:
config
:
appid
:
wx48720402e3fdbe0f
#微信小程序的appid
secret
:
2
cdf04b11dce20f48402a1fef1cc9842
#微信小程序的Secret
secret
:
2
ebae648f45716e70c75b7d78d0660cc
#微信小程序的Secret
token
:
#微信小程序消息服务器配置的token
aesKey
:
#微信小程序消息服务器配置的EncodingAESKey
msgDataFormat
:
JSON
\ No newline at end of file
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