摘要: /* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi 阅读全文
posted @ 2022-02-08 17:25 八英里 阅读(101) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/2f79ee33c8ad https://www.freesion.com/article/24951147266/ https://segmentfault.com/a/1190000013341344 https://blog.csdn.net 阅读全文
posted @ 2022-02-08 16:34 八英里 阅读(38) 评论(0) 推荐(0) 编辑
摘要: REQUIRED : 如果存在事务,就在当前事务里运行,否则的话就创建一个新的事务 (默认) NESTED:如果当前事务存在,则在嵌套事务中执行 看起来两个似乎作用是相同的,但是REQUIRED会跟着父任务一同提交,一同失败 。 而NESTED是 如果当前事务出现异常,本身进行回滚操作,但是父任务不 阅读全文
posted @ 2022-02-08 15:51 八英里 阅读(312) 评论(0) 推荐(0) 编辑
摘要: MyBatis Plus 添加多租户功能后 对某个Mapper方法 忽略多租户处理: 使用注解 @InterceptorIgnore(tenantLine = "true") 阅读全文
posted @ 2022-02-08 14:24 八英里 阅读(3393) 评论(1) 推荐(0) 编辑