-
@OverRide 已在MyBatis配置类中修改为上述代码,List list = super.getPaginationBeforeInnerInterceptor();,经测试实现了租户模式,所有CRUD自动注入tenant_id,但是其他业务接口也用到这张表,但是不想使用租户方式,比如查所有的数据等,应如何处理? |
Beta Was this translation helpful? Give feedback.
Answered by
zuihou
Aug 18, 2022
Replies: 1 comment
-
在 mapper 上加注解: @InterceptorIgnore |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zbh0523
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在 mapper 上加注解: @InterceptorIgnore