去掉多余没用到的代码

This commit is contained in:
Admin 2021-08-06 06:13:17 +00:00 committed by Gitee
parent 0848db4dc1
commit de8d85dbc3
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 -> {