执行以下脚本提示,UUID is not defined错误,没找到原因 var valueA1 = _g().getWidgetByName('report10').getCellValue("F2"); var valueA2 = _g().getWidgetByName('report10').getCellValue("G2"); var uuid = UUID(); // 生成36位的UUID
// 构建SQL语句 var sql = "INSERT INTO TEST (uGUID,A,B) VALUES ('" + uuid + "', '" + valueA1 + "','" + valueA2 + "')";
// 执行SQL语句 FR.remoteEvaluate('=SQL("DEMOTEST","' + sql + '",1,1)'); //执行sql |