feat : 模拟执行报错
This commit is contained in:
@@ -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" +
|
||||
|
||||
Reference in New Issue
Block a user