Class TenantDeleteUtil

java.lang.Object
org.dromara.warm.flow.orm.utils.TenantDeleteUtil

public class TenantDeleteUtil extends Object
mybatis-plus 租户和逻辑删除工具类
Author:
warm
  • 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 -