语法类似:
FR.remoteEvaluate( '=sql("本地_FR_Test"," exec pro_1 '2021-02-01', '2021-03-10'",1,1)')
方式一:
var mycode=this.options.form.getWidgetByName('mycode').getValue(); //获取参数
var mydate=this.options.form.getWidgetByName('mydate').getValue();
var STATUS=this.options.form.getWidgetByName('STATUS').getValue();
var sql="exec test_aa_cc "+mycode+","+mydate+","+STATUS;
var res=FR.remoteEvaluate('=sql("dbbasedata","'+sql+'",1,1)');
方式二:
var mycode=this.options.form.getWidgetByName('mycode').getValue(); //获取参数
var mydate=this.options.form.getWidgetByName('mydate').getValue();
var STATUS=this.options.form.getWidgetByName('STATUS').getValue();
var sql="call test_aa_cc ('"+mycode+"','"+mydate+"','"+STATUS+"')";
var res=FR.remoteEvaluate('=sql("dbbasedata","'+sql+'",1,1)');