From ae0260ea55d825a7b303da5d3440cf6fb9d833e8 Mon Sep 17 00:00:00 2001 From: zack Date: Fri, 6 Nov 2020 15:59:12 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-42908=20=E8=B0=83=E7=94=A8sap=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=B8=86=E8=BD=AF=E4=B8=8A=E6=B2=A1=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/fr/data/ParamSAPDataTest.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/fr/data/ParamSAPDataTest.java b/src/main/java/com/fr/data/ParamSAPDataTest.java index 9b06dba..72af385 100644 --- a/src/main/java/com/fr/data/ParamSAPDataTest.java +++ b/src/main/java/com/fr/data/ParamSAPDataTest.java @@ -1,6 +1,7 @@ package com.fr.data; import com.fr.base.FRContext; +import com.fr.base.Parameter; import com.fr.config.holder.impl.xml.XmlColConf; import com.fr.function.ConnectSAPServer; import com.fr.stable.ParameterProvider; @@ -10,7 +11,6 @@ import com.sap.conn.jco.JCoFunction; import com.sap.conn.jco.JCoTable; import java.util.ArrayList; -import java.util.Collection; public class ParamSAPDataTest extends AbstractTableData { private String[] columnNames = null; @@ -22,12 +22,10 @@ public class ParamSAPDataTest extends AbstractTableData { private static JCoDestination jCoDestination; public ParamSAPDataTest() { - ArrayList arrayList = new ArrayList(); - arrayList.add("LIFNR"); - arrayList.add("NAME1"); - - - this.parameters = new XmlColConf>(arrayList, ParameterProvider.class); + ArrayList arrayList = new ArrayList<>(); + arrayList.add(new Parameter("LIFNR")); + arrayList.add(new Parameter("NAME1")); + this.parameters = new XmlColConf<>(arrayList, ParameterProvider.class); this.columnNames = new String[this.columnNum]; this.columnNames[0] = "供应商编码";