Class SearchUtil

java.lang.Object
cn.net.pap.example.proguard.util.SearchUtil

public class SearchUtil extends Object
  • Constructor Details

    • SearchUtil

      public SearchUtil()
  • Method Details

    • filterEntities

      public static <T> List<T> filterEntities(List<SearchConditionDTO> conditions, jakarta.persistence.EntityManager entityManager, Class<T> entityClass)
      高级查询
      Type Parameters:
      T -
      Parameters:
      conditions -
      entityManager -
      entityClass -
      Returns:
    • filterEntities

      public static <T> List<T> filterEntities(List<SearchConditionDTO> conditions, jakarta.persistence.EntityManager entityManager, Class<T> entityClass, int pageNumber, int pageSize)
      高级查询 分页
      Type Parameters:
      T -
      Parameters:
      conditions -
      entityManager -
      entityClass -
      pageNumber -
      pageSize -
      Returns: