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
19ea0b2a
authored
Apr 17, 2024
by
罗志长
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix: 子女端小程序解绑长者
parent
7e459148
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
server-service/src/main/java/com/makeit/service/platform/elder/impl/PlatElderChildrenInfoServiceImpl.java
server-service/src/main/java/com/makeit/service/platform/elder/impl/PlatElderChildrenInfoServiceImpl.java
View file @
19ea0b2a
...
@@ -367,11 +367,10 @@ public class PlatElderChildrenInfoServiceImpl extends ServiceImpl<PlatElderChild
...
@@ -367,11 +367,10 @@ public class PlatElderChildrenInfoServiceImpl extends ServiceImpl<PlatElderChild
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
unbind
(
String
elderId
)
{
public
void
unbind
(
String
elderId
)
{
remove
(
new
QueryWrapper
<
PlatElderChildrenInfo
>().
lambda
().
eq
(
PlatElderChildrenInfo:
:
getElderId
,
elderId
));
PlatElderChildrenInfo
childrenInfo
=
getById
(
WechatUserUtil
.
getUserId
());
/* PlatElderChildrenInfo childrenInfo = getById(WechatUserUtil.getUserId());
childrenInfo
.
setElderId
(
null
);
childrenInfo
.
setElderId
(
null
);
updateById(childrenInfo);
*/
updateById
(
childrenInfo
);
}
}
}
}
//TODO ywc 组织还没填充
//TODO ywc 组织还没填充
\ 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