diff --git a/custom-query/custom-query-biz/src/main/java/cn/fateverse/query/entity/DataAdapter.java b/custom-query/custom-query-biz/src/main/java/cn/fateverse/query/entity/DataAdapter.java index 3e4b3f9..2460cac 100644 --- a/custom-query/custom-query-biz/src/main/java/cn/fateverse/query/entity/DataAdapter.java +++ b/custom-query/custom-query-biz/src/main/java/cn/fateverse/query/entity/DataAdapter.java @@ -64,12 +64,13 @@ public class DataAdapter extends BaseEntity { if (type == null) { throw new CustomException("数据适配器类型为空"); } +// "import com.alibaba.fastjson2.*;\n" + + if (DataAdapterType.JAVA.equals(type)) { //Java代码初始化 this.code = "\n" + "import java.util.*;\n" + "import java.util.stream.*;\n" + - "import com.alibaba.fastjson2.*;\n" + "\n" + "public class DataAdapter {\n" + "\n" +