@@ -777,7 +777,7 @@ public class TableInfoServiceImpl implements ITableInfoService {
foundationSt.executeUpdate("USE " + dataSource.getDatabaseName() + ";");
}
// 将SQL脚本内容作为字符串执行
- foundationSt.execute(script.toString());
+ foundationSt.executeUpdate(script.toString());
// 其他的数据类型则执行sql脚本文件
foundationSt.close();