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