!148 去掉多余没用到的代码

Merge pull request !148 from Admin/N/A
This commit is contained in:
lbw 2021-08-06 06:36:39 +00:00 committed by Gitee
commit b6cf402ed3
1 changed files with 0 additions and 2 deletions

View File

@ -53,8 +53,6 @@ public class SysDeptRelationServiceImpl extends ServiceImpl<SysDeptRelationMappe
@Transactional(rollbackFor = Exception.class)
public void saveDeptRelation(SysDept sysDept) {
// 增加部门关系表
SysDeptRelation condition = new SysDeptRelation();
condition.setDescendant(sysDept.getParentId());
List<SysDeptRelation> relationList = sysDeptRelationMapper.selectList(
Wrappers.<SysDeptRelation>query().lambda().eq(SysDeptRelation::getDescendant, sysDept.getParentId()))
.stream().map(relation -> {