SpringAOP annotation form notification repeated twice [Resolved]

Insert picture description here
So I printed out the entry point information of the two notifications and the
Insert picture description here
problem was found. Well, I admit that it has been three hours. The service layer and the dao layer have addPerson() methods. Of course, there is a notification every time it is executed. .
Insert picture description here
It's easy to execute it once, just specify it precisely.
Insert picture description here
Success Nice

May your heart be like flowers and trees

Guess you like

Origin blog.csdn.net/nbcsdn/article/details/99634957
Recommended