easy-es/docs/en/update.md
2022-03-17 11:01:44 +08:00

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