Interface DepartmentDao

All Superinterfaces:
cn.xuanyuanli.jdbc.base.BaseDao<Department,BigInteger>

public interface DepartmentDao extends cn.xuanyuanli.jdbc.base.BaseDao<Department,BigInteger>
Author:
John Li
  • Method Details

    • getTableName

      default String getTableName()
      获得表名字
      Specified by:
      getTableName in interface cn.xuanyuanli.jdbc.base.BaseDao<Department,BigInteger>
      Returns:
      String
    • getCountByIdGt

      long getCountByIdGt(int id)
      根据查询条件获得 总数
      Parameters:
      id -
      invalid reference
      id
      Returns:
      总数
    • findIdByNameLike

      List<Long> findIdByNameLike(String name)
      根据查询条件获得对象集合
      Parameters:
      name -
      invalid reference
      name
      Returns:
      Listinvalid input: '<'Long>
    • findIdByNameLikeAndIdIn

      List<Long> findIdByNameLikeAndIdIn(String name, List<Long> ids)
      找到id,根据名称和id
      Parameters:
      name - 名字
      ids - id
      Returns:
      Listinvalid input: '<'Long>
    • findIdByNameLikeAndIdNotIn

      List<Long> findIdByNameLikeAndIdNotIn(String name, List<Long> ids)
      根据查询条件获得对象集合
      Parameters:
      name -
      invalid reference
      name
      ids -
      invalid reference
      id
      Returns:
      Listinvalid input: '<'Long>