Package org.dromara.warm.flow.orm.utils
Class TenantDeleteUtil
java.lang.Object
org.dromara.warm.flow.orm.utils.TenantDeleteUtil
mybatis-plus 租户和逻辑删除工具类
- Author:
- warm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends org.dromara.warm.flow.core.entity.RootEntity>
TgetEntity(T entity) 获取mybatis-plus查询条件, 根据是否租户或者逻辑删除
-
Constructor Details
-
TenantDeleteUtil
private TenantDeleteUtil()
-
-
Method Details
-
getEntity
public static <T extends org.dromara.warm.flow.core.entity.RootEntity> T getEntity(T entity) 获取mybatis-plus查询条件, 根据是否租户或者逻辑删除- Type Parameters:
T-
-