support mergeCell

This commit is contained in:
Looly
2020-02-24 02:44:05 +08:00
parent 3ba3690b0e
commit 83d6428db8
8 changed files with 115 additions and 32 deletions

View File

@@ -1,7 +1,9 @@
package cn.hutool.db.dialect;
/**
* 方言名
* 方言名<br>
* 方言枚举列出了Hutool支持的所有数据库方言
*
* @author Looly
*
*/

View File

@@ -531,7 +531,7 @@ public class SqlBuilder implements Builder<String>{
* @return 插入或更新的数据库字段列表
*/
public String[] getFieldArray() {
return this.fields.toArray(new String[this.fields.size()]);
return this.fields.toArray(new String[0]);
}
/**
@@ -558,7 +558,7 @@ public class SqlBuilder implements Builder<String>{
* @return 占位符对应的值列表
*/
public Object[] getParamValueArray() {
return this.paramValues.toArray(new Object[this.paramValues.size()]);
return this.paramValues.toArray(new Object[0]);
}
/**