From c0b599c47be85212ed8255bfab8dc724e98a1861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= <2270033969@qq.com> Date: Tue, 16 Jul 2024 11:16:49 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90):?= =?UTF-8?q?=20=E6=96=B0=E5=A2=9E=20opensource=20true=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 通过此参数获取开源版本的模板,方便定制 --- .../pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java b/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java index aec0bac02..d1690dbaf 100755 --- a/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java +++ b/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java @@ -185,6 +185,7 @@ private Map getDataModel(Long tableId) { Map dataModel = new HashMap<>(); // 填充数据模型 + dataModel.put("opensource", true); dataModel.put("isSpringBoot3", isSpringBoot3()); dataModel.put("dbType", table.getDbType()); dataModel.put("package", table.getPackageName());