没有提到的实现方式:_parentId
{
"id": 1,
"name": "1",
"updateUser": null,
"updateTime": "2022-01-26 15:49:33",
"orderflag": null,
"createTime": "2022-01-24 12:23:12",
"createUser": null,
"status": null
},
{
"id": 2,
"name": "2",
"updateUser": null,
"updateTime": "2022-01-26 15:49:33",
"orderflag": null,
"createTime": "2022-01-24 12:23:12",
"createUser": null,
"status": null
},
{
"id": 11,
"_parentId": "1",
"name": "1_1",
"updateUser": null,
"updateTime": "2022-01-26 15:49:33",
"orderflag": null,
"createTime": "2022-01-24 12:23:12",
"createUser": null,
"status": null
},
{
"id": 12,
"_parentId": "1",
"name": "1_2",
"updateUser": null,
"updateTime": "2022-01-26 15:49:33",
"orderflag": null,
"createTime": "2022-01-24 12:23:12",
"createUser": null,
"status": null
},
{
"id": 21,
"_parentId": "2",
"name": "2_1",
"updateUser": null,
"updateTime": "2022-01-26 15:49:33",
"orderflag": null,
"createTime": "2022-01-24 12:23:12",
"createUser": null,
"status": null
}