Demand, create a department, there are many employees in department, one table to insert the new department, the other one table insert department and all the staff, is probably the effect
Table 1:
The id department
1 division 1
Unit 2
Table 2:
The id department employee
1 department staff 1
Department staff 1 2
1 3 department staff 3
4 department 2 employees 1
5 department staff 2
Use of baomidou mybatisplus