@ -1,6 +1,7 @@
package com.fr.data ;
package com.fr.data ;
import com.fr.base.FRContext ;
import com.fr.base.FRContext ;
import com.fr.base.Parameter ;
import com.fr.config.holder.impl.xml.XmlColConf ;
import com.fr.config.holder.impl.xml.XmlColConf ;
import com.fr.function.ConnectSAPServer ;
import com.fr.function.ConnectSAPServer ;
import com.fr.stable.ParameterProvider ;
import com.fr.stable.ParameterProvider ;
@ -10,7 +11,6 @@ import com.sap.conn.jco.JCoFunction;
import com.sap.conn.jco.JCoTable ;
import com.sap.conn.jco.JCoTable ;
import java.util.ArrayList ;
import java.util.ArrayList ;
import java.util.Collection ;
public class ParamSAPDataTest extends AbstractTableData {
public class ParamSAPDataTest extends AbstractTableData {
private String [ ] columnNames = null ;
private String [ ] columnNames = null ;
@ -22,12 +22,10 @@ public class ParamSAPDataTest extends AbstractTableData {
private static JCoDestination jCoDestination ;
private static JCoDestination jCoDestination ;
public ParamSAPDataTest ( ) {
public ParamSAPDataTest ( ) {
ArrayList < String > arrayList = new ArrayList < String > ( ) ;
ArrayList < ParameterProvider > arrayList = new ArrayList < > ( ) ;
arrayList . add ( "LIFNR" ) ;
arrayList . add ( new Parameter ( "LIFNR" ) ) ;
arrayList . add ( "NAME1" ) ;
arrayList . add ( new Parameter ( "NAME1" ) ) ;
this . parameters = new XmlColConf < > ( arrayList , ParameterProvider . class ) ;
this . parameters = new XmlColConf < Collection < ParameterProvider > > ( arrayList , ParameterProvider . class ) ;
this . columnNames = new String [ this . columnNum ] ;
this . columnNames = new String [ this . columnNum ] ;
this . columnNames [ 0 ] = "供应商编码" ;
this . columnNames [ 0 ] = "供应商编码" ;