From a4c019ace2841faa6af14b5373a041464c3dbbde Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 20 七月 2021 11:12:22 +0800
Subject: [PATCH] update OSS接口增加通用contentType

---
 ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/ServicePlusImpl.java |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/ServicePlusImpl.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/ServicePlusImpl.java
index 77b9c28..fb0998b 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/ServicePlusImpl.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/mybatisplus/core/ServicePlusImpl.java
@@ -51,11 +51,8 @@
 	}
 
 	/**
-	 * 鍗曟潯鎵ц鎬ц兘宸�
-	 *
-	 * {@link #saveAll(Collection)}
+	 * 鍗曟潯鎵ц鎬ц兘宸� 閫傜敤浜庡垪琛ㄥ璞″唴瀹逛笉纭畾
 	 */
-	@Deprecated
 	@Override
 	public boolean saveBatch(Collection<T> entityList, int batchSize) {
 		return super.saveBatch(entityList, batchSize);
@@ -67,11 +64,8 @@
 	}
 
 	/**
-	 * 鍗曟潯鎵ц鎬ц兘宸�
-	 *
-	 * {@link #saveAll(Collection)}
+	 * 鍗曟潯鎵ц鎬ц兘宸� 閫傜敤浜庡垪琛ㄥ璞″唴瀹逛笉纭畾
 	 */
-	@Deprecated
 	@Override
 	public boolean saveOrUpdateBatch(Collection<T> entityList, int batchSize) {
 		return super.saveOrUpdateBatch(entityList, batchSize);
@@ -82,6 +76,10 @@
 		return super.updateBatchById(entityList, batchSize);
 	}
 
+	/**
+	 * 鍗晄ql鎵归噺鎻掑叆( 鍏ㄩ噺濉厖 鏃犺鏁版嵁搴撻粯璁ゅ�� )
+	 * 閫傜敤浜庢棤鑴戞彃鍏�
+	 */
 	@Override
 	public boolean saveAll(Collection<T> entityList) {
 		return baseMapper.insertAll(entityList) == entityList.size();

--
Gitblit v1.9.3