后台资产展示代码
parent
80d6cf92ee
commit
4be2e3beda
|
@ -194,7 +194,7 @@ public class TableDataController extends BaseController {
|
|||
public Result findByTableName(){
|
||||
List<Children> childrenList = childrenService.list();
|
||||
|
||||
List<TableInfoResp> list = childrenList.stream().filter(children -> children.getAssetId() == 0).map(children -> {
|
||||
List<TableInfoResp> list = childrenList.stream().map(children -> {
|
||||
TableInfoResp tableInfoResp = Children.toTableInfoResp(children);
|
||||
tableInfoResp.setChildren(getChildren(children, childrenList));
|
||||
return tableInfoResp;
|
||||
|
|
Loading…
Reference in New Issue