mirror of https://gitee.com/maxjhandsome/pig
commit
b6cf402ed3
|
@ -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