parent
577109d37e
commit
3ae1e41926
|
@ -95,7 +95,7 @@ public class AccountbankReportPlugin extends AbstractReportListDataPlugin {
|
||||||
|
|
||||||
String[] fieldNames1 = finish.getRowMeta().getFieldNames();
|
String[] fieldNames1 = finish.getRowMeta().getFieldNames();
|
||||||
// 创建一个新的数组,长度是原数组长度 + 2(因为要添加两个字段)
|
// 创建一个新的数组,长度是原数组长度 + 2(因为要添加两个字段)
|
||||||
String[] newFieldNames1 = new String[fieldNames1.length + 2];
|
String[] newFieldNames1 = new String[fieldNames1.length + 3];
|
||||||
|
|
||||||
// 将原来的字段名数组复制到新数组
|
// 将原来的字段名数组复制到新数组
|
||||||
System.arraycopy(fieldNames1, 0, newFieldNames1, 0, fieldNames1.length);
|
System.arraycopy(fieldNames1, 0, newFieldNames1, 0, fieldNames1.length);
|
||||||
|
|
Loading…
Reference in New Issue