Skip to content

Commit

Permalink
mp
Browse files Browse the repository at this point in the history
  • Loading branch information
andanyoung committed Oct 20, 2023
1 parent cf4235f commit 2860dcc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,12 @@ public boolean removeById(Serializable id) {
return SqlHelper.retBool(getBaseMapper().deleteById(id));
}


/**
* 删除(根据ID 批量删除)
*
* @param list 主键ID或实体列表
*/
@Transactional(rollbackFor = Exception.class)
public boolean removeByIds(Collection<?> list) {
if (CollectionUtils.isEmpty(list)) {
Expand Down

0 comments on commit 2860dcc

Please sign in to comment.