Package cn.sinozg.applet.common.handler
Class TenantHandler
java.lang.Object
cn.sinozg.applet.common.handler.TenantHandler
- All Implemented Interfaces:
com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler
public class TenantHandler
extends Object
implements com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler
多租户 配置
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.sf.jsqlparser.expression.ExpressionbooleanignoreTable(String tableName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler
getTenantIdColumn, ignoreInsert
-
Field Details
-
log
private final org.slf4j.Logger log -
tenantValue
-
-
Constructor Details
-
TenantHandler
-
-
Method Details
-
getTenantId
public net.sf.jsqlparser.expression.Expression getTenantId()- Specified by:
getTenantIdin interfacecom.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler
-
ignoreTable
- Specified by:
ignoreTablein interfacecom.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler
-