feat : 模拟执行报错
This commit is contained in:
@@ -64,12 +64,13 @@ public class DataAdapter extends BaseEntity {
|
|||||||
if (type == null) {
|
if (type == null) {
|
||||||
throw new CustomException("数据适配器类型为空");
|
throw new CustomException("数据适配器类型为空");
|
||||||
}
|
}
|
||||||
|
// "import com.alibaba.fastjson2.*;\n" +
|
||||||
|
|
||||||
if (DataAdapterType.JAVA.equals(type)) {
|
if (DataAdapterType.JAVA.equals(type)) {
|
||||||
//Java代码初始化
|
//Java代码初始化
|
||||||
this.code = "\n" +
|
this.code = "\n" +
|
||||||
"import java.util.*;\n" +
|
"import java.util.*;\n" +
|
||||||
"import java.util.stream.*;\n" +
|
"import java.util.stream.*;\n" +
|
||||||
"import com.alibaba.fastjson2.*;\n" +
|
|
||||||
"\n" +
|
"\n" +
|
||||||
"public class DataAdapter {\n" +
|
"public class DataAdapter {\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user