Query all the data at once, organize the data through code, so that it maintains the original level in the database

1. Create an entity class, pay attention to the children attribute

2. Implement code logic

 

Guess you like

Origin blog.csdn.net/qq_39839828/article/details/105373807