Commit ce610131f4eb9e6d1d40a6163b58a2d9097741a9
Committed by
GitHub
Merge pull request #619 from bro0k/develop
fix: insertOrUpdate死循环问题
Showing
1 changed file
with
0 additions
and
4 deletions
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/mapper/BaseMapperX.java
| ... | ... | @@ -185,10 +185,6 @@ public interface BaseMapperX<T> extends MPJBaseMapper<T> { |
| 185 | 185 | return Db.updateBatchById(entities, size); |
| 186 | 186 | } |
| 187 | 187 | |
| 188 | - default boolean insertOrUpdate(T entity) { | |
| 189 | - return Db.saveOrUpdate(entity); | |
| 190 | - } | |
| 191 | - | |
| 192 | 188 | default Boolean insertOrUpdateBatch(Collection<T> collection) { |
| 193 | 189 | return Db.saveOrUpdateBatch(collection); |
| 194 | 190 | } | ... | ... |