事务中返回错误message的处理方法

应该抛出异常,然后捕获回滚。不应该直接return,可能会出现意想不到的情况。

猜你喜欢

转载自blog.csdn.net/qq_37699037/article/details/81282152