mirror of
https://gitee.com/dromara/easy-es.git
synced 2025-12-06 17:18:57 +08:00
474 B
474 B
Integer updateById(T entity);
Integer updateBatchByIds(Collection<T> entityList);
// Update records based on dynamic conditions
Integer update(T entity, LambdaEsUpdateWrapper<T> updateWrapper);
Parameter Description
| Type | Parameter name | Description |
|---|---|---|
| T | entity | The entity that needs to be updated |
| Wrapper | updateWrapper | Update conditions |
| Collection | entityList | The entity list that needs to be updated |