Merge pull request #71 from makejavas/revert-47-master

Revert "insertOrUpdateBatch方法更新javadoc,提醒入参是空List的时候会抛SQL语句错误的异常"
This commit is contained in:
makejavas 2021-07-15 14:52:24 +08:00 committed by GitHub
commit 3ab46fafd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -70,7 +70,6 @@ public interface $!{tableName} {
* *
* @param entities List<$!{tableInfo.name}> 实例对象列表 * @param entities List<$!{tableInfo.name}> 实例对象列表
* @return 影响行数 * @return 影响行数
* @throws org.springframework.jdbc.BadSqlGrammarException 入参是空List的时候会抛SQL语句错误的异常请自行校验入参
*/ */
int insertOrUpdateBatch(@Param("entities") List<$!{tableInfo.name}> entities); int insertOrUpdateBatch(@Param("entities") List<$!{tableInfo.name}> entities);

View File

@ -33,7 +33,6 @@ int insertBatch(@Param("entities") List<$!{tableInfo.name}> entities);
* *
* @param entities List<$!{tableInfo.name}> 实例对象列表 * @param entities List<$!{tableInfo.name}> 实例对象列表
* @return 影响行数 * @return 影响行数
* @throws org.springframework.jdbc.BadSqlGrammarException 入参是空List的时候会抛SQL语句错误的异常请自行校验入参
*/ */
int insertOrUpdateBatch(@Param("entities") List<$!{tableInfo.name}> entities); int insertOrUpdateBatch(@Param("entities") List<$!{tableInfo.name}> entities);