|
|
|
@ -140,14 +140,14 @@ public class SysColumnServiceImpl extends ServiceImpl<SysColumnMapper, SysColumn |
|
|
|
|
@Override |
|
|
|
|
public R getsTheSubColumn(Integer pid, String ids) { |
|
|
|
|
|
|
|
|
|
List<SysColumn> getsTheSubColumn = baseMapper.getsTheSubColumn(pid, ids); |
|
|
|
|
List<SysColumn> getsTheSubColumn = baseMapper.getsTheSubColumn(pid, ids,null); |
|
|
|
|
return R.success(TreeStructureUtils.buildTree(getsTheSubColumn, pid)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public R getsSublevelColumnsUnderALevel(Integer parentId, String ids) { |
|
|
|
|
|
|
|
|
|
List<SysColumn> getsTheSubColumn = baseMapper.getsTheSubColumn(parentId, ids); |
|
|
|
|
List<SysColumn> getsTheSubColumn = baseMapper.getsTheSubColumn(parentId, ids,null); |
|
|
|
|
List<SysColumn> buildTree = TreeStructureUtils.buildTree(getsTheSubColumn, parentId); |
|
|
|
|
return R.success(buildTree); |
|
|
|
|
} |
|
|
|
@ -159,8 +159,8 @@ public class SysColumnServiceImpl extends ServiceImpl<SysColumnMapper, SysColumn |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public R getSubColumn(Integer parentId, String ids) { |
|
|
|
|
List<SysColumn> getsTheSubColumn = baseMapper.getsTheSubColumn(parentId, ids); |
|
|
|
|
public R getSubColumn(Integer parentId, String ids,Integer isSort) { |
|
|
|
|
List<SysColumn> getsTheSubColumn = baseMapper.getsTheSubColumn(parentId, ids,isSort); |
|
|
|
|
return R.success(TreeStructureUtils.forMethod(getsTheSubColumn)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|