Parcourir la source

update 删除 无用方法 mp 新版本自带了

疯狂的狮子Li il y a 10 mois
Parent
commit
086b206139

+ 0 - 7
ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/mapper/BaseMapperPlus.java

@@ -88,13 +88,6 @@ public interface BaseMapperPlus<T, V> extends BaseMapper<T> {
         return Db.saveOrUpdateBatch(entityList, batchSize);
     }
 
-    /**
-     * 插入或更新(包含限制条数)
-     */
-    default boolean insertOrUpdate(T entity) {
-        return Db.saveOrUpdate(entity);
-    }
-
     default V selectVoById(Serializable id) {
         return selectVoById(id, this.currentVoClass());
     }