Then @ Transactional annotation to the method of the Controller layer, and then call the Service layer method, the transaction will take effect, is this why?
To solve the ~ ~ ~
Attached to the Serivce layer using the @ Transactional annotation log log:
