在这样一段代码中:
加了 @Transactional 和不加 @Transactional Mapper 与数据库交互产生的连接是不一样的。
文章地址:https://mp.weixin.qq.com/s?__biz=MzU1OTgyMDc3Mg==&mid=2247483776&idx=1&sn=4b280542a47d8a232e446662356a918a&chksm=fc103b0bcb67b21db36323426c11b579576fa286c14a4721573246d3311e99e29f61fddb16d6&scene=27#wechat_redirect