package com.qianwen.core.mp.service; import java.util.Collection; import com.qianwen.core.mp.base.BaseService; import org.springframework.transaction.annotation.Transactional; /* loaded from: blade-starter-mybatis-9.3.0.0-SNAPSHOT.jar:org/springblade/core/mp/service/BladeService.class */ public interface BladeService extends BaseService { boolean saveIgnore(T entity); boolean saveReplace(T entity); boolean saveIgnoreBatch(Collection entityList, int batchSize); boolean saveReplaceBatch(Collection entityList, int batchSize); @Transactional(rollbackFor = {Exception.class}) default boolean saveIgnoreBatch(Collection entityList) { return saveIgnoreBatch(entityList, 1000); } @Transactional(rollbackFor = {Exception.class}) default boolean saveReplaceBatch(Collection entityList) { return saveReplaceBatch(entityList, 1000); } }