想问下大家平时都怎么处理mysql事务

![image](https://user-images.githubusercontent.com/50655436/124376512-e7ce4100-dcd9-11eb-8c01-cd3f4c483779.png)
![image](https://user-images.githubusercontent.com/50655436/124376523-f0267c00-dcd9-11eb-8565-955ad3810ea5.png)
![image](https://user-images.githubusercontent.com/50655436/124376556-1b10d000-dcda-11eb-97ad-7cbc343e8fb0.png)


