Commit dec1e42a authored by wujipeng's avatar wujipeng
Browse files

删除用户优化

parent 31d567a3
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment