1. Set up the foreign key, is not provided in the Controller to add foreign key once deleted because try catch the foreign key table is provided on the find this ID;
2. deleted foreign key data is set to be removed for containing then delete the foreign key data;
SSM role of rights management
Guess you like
Origin blog.csdn.net/qq_44593353/article/details/104920180
Recommended
Ranking