Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
relation
Commits
dec1e42a
Commit
dec1e42a
authored
Aug 10, 2025
by
wujipeng
Browse files
删除用户优化
parent
31d567a3
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/com/platform/service/impl/UserServiceImpl.java
View file @
dec1e42a
...
...
@@ -260,6 +260,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, UserEntity> impleme
@Transactional
public
Boolean
delete
(
String
userName
)
{
excelDataService
.
remove
(
new
LambdaQueryWrapper
<
ExcelDataEntity
>().
eq
(
ExcelDataEntity:
:
getPayUserName
,
userName
));
excelDataService
.
remove
(
new
LambdaQueryWrapper
<
ExcelDataEntity
>().
eq
(
ExcelDataEntity:
:
getPayeeName
,
userName
));
//删除关系
userRelationService
.
remove
(
new
LambdaQueryWrapper
<
UserRelationEntity
>().
eq
(
UserRelationEntity:
:
getUserName
,
userName
));
userRelationService
.
remove
(
new
LambdaQueryWrapper
<
UserRelationEntity
>().
eq
(
UserRelationEntity:
:
getOtherName
,
userName
));
...
...
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