```java Long selectCount(LambdaEsQueryWrapper wrapper); T selectById(Serializable id); List selectBatchIds(Collection idList); // According to dynamic query conditions, query a record, if there are multiple records, will throw RuntimeException T selectOne(LambdaEsQueryWrapper wrapper); // According to the dynamic query conditions, query all the records that meet the conditions List selectList(LambdaEsQueryWrapper wrapper); ``` **Parameter Description** | Type | Parameter name | Description | | --- | --- | --- | | Wrapper | queryWrapper | Query parameter packaging class | | Serializable | id | primary key in es | | Collection | idList | primary key list in es |