mirror of https://gitee.com/maxjhandsome/pig
去掉多余没用到的代码
This commit is contained in:
parent
0848db4dc1
commit
de8d85dbc3
|
@ -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 -> {
|
||||
|
|
Loading…
Reference in New Issue