MybatisPlus 多租户的常见问题

时间:2021-07-26 22:40:22   收藏:0   阅读:199

mybatis plus :https://mp.baomidou.com/guide/interceptor-tenant-line.html

 

 

如果最终执行的sql出现select查询没有租户ID,而更新有租户ID的情况下

需要看下是否 

TenantLineInnerInterceptor 接口的
builderExpression和
parserMulti方法是否重写

原文:https://www.cnblogs.com/XingXiaoMeng/p/15062798.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!