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
8a8cf83f
authored
Sep 20, 2023
by
杨伟程
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
老人增删改查
parent
bfe68181
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
server-common/src/main/java/com/makeit/module/system/service/impl/SysConfigServiceImpl.java
server-service/src/main/java/com/makeit/service/platform/elder/impl/PlatElderServiceImpl.java
server-common/src/main/java/com/makeit/module/system/service/impl/SysConfigServiceImpl.java
View file @
8a8cf83f
...
@@ -158,6 +158,7 @@ public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig
...
@@ -158,6 +158,7 @@ public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig
List
<
SysConfig
>
configList
=
list
(
listLambdaQueryWrapper
(
sysConfig
));
List
<
SysConfig
>
configList
=
list
(
listLambdaQueryWrapper
(
sysConfig
));
JoinUtil
.
join
(
configList
,
sysConfigCategoryService
,
SysConfig:
:
getCategoryId
,
SysConfigCategory:
:
getId
,
(
c
,
cc
)
->
{
JoinUtil
.
join
(
configList
,
sysConfigCategoryService
,
SysConfig:
:
getCategoryId
,
SysConfigCategory:
:
getId
,
(
c
,
cc
)
->
{
c
.
setCategoryCode
(
cc
.
getCode
());
c
.
setCategoryName
(
cc
.
getName
());
c
.
setCategoryName
(
cc
.
getName
());
});
});
...
...
server-service/src/main/java/com/makeit/service/platform/elder/impl/PlatElderServiceImpl.java
View file @
8a8cf83f
...
@@ -569,6 +569,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
...
@@ -569,6 +569,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
String
healthInfoId
=
healthInfo
.
getId
();
String
healthInfoId
=
healthInfo
.
getId
();
BeanUtils
.
copyProperties
(
dto
.
getHealthInfo
(),
healthInfo
);
BeanUtils
.
copyProperties
(
dto
.
getHealthInfo
(),
healthInfo
);
healthInfo
.
setId
(
healthInfoId
);
healthInfo
.
setId
(
healthInfoId
);
healthInfo
.
setElderId
(
dto
.
getId
());
platElderHealthInfoService
.
saveOrUpdate
(
healthInfo
);
platElderHealthInfoService
.
saveOrUpdate
(
healthInfo
);
...
@@ -581,6 +582,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
...
@@ -581,6 +582,7 @@ public class PlatElderServiceImpl extends ServiceImpl<PlatElderMapper, PlatElder
String
otherInfoId
=
otherInfo
.
getId
();
String
otherInfoId
=
otherInfo
.
getId
();
BeanUtils
.
copyProperties
(
dto
.
getOtherInfo
(),
otherInfo
);
BeanUtils
.
copyProperties
(
dto
.
getOtherInfo
(),
otherInfo
);
otherInfo
.
setId
(
otherInfoId
);
otherInfo
.
setId
(
otherInfoId
);
otherInfo
.
setElderId
(
dto
.
getId
());
platElderOtherInfoService
.
saveOrUpdate
(
otherInfo
);
platElderOtherInfoService
.
saveOrUpdate
(
otherInfo
);
...
...
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