From 755262ba9a1a3c0573a0e910bbd0a353e9e2a2c5 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 16 六月 2021 16:39:57 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 java110-generator/src/main/java/com/java110/code/relationship/GeneratorFlow.java |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/java110-generator/src/main/java/com/java110/code/relationship/GeneratorFlow.java b/java110-generator/src/main/java/com/java110/code/relationship/GeneratorFlow.java
new file mode 100755
index 0000000..7421def
--- /dev/null
+++ b/java110-generator/src/main/java/com/java110/code/relationship/GeneratorFlow.java
@@ -0,0 +1,45 @@
+package com.java110.code.relationship;
+
+
+import com.alibaba.fastjson.JSONObject;
+import com.java110.code.back.BaseGenerator;
+import com.java110.code.web.GeneratorStart;
+
+public class GeneratorFlow extends BaseGenerator {
+
+    public void generator(JSONObject data) {
+
+        //澶勭悊缁勪欢
+//        generatorComponentHtml(data);
+
+
+
+
+    }
+
+    /**
+     * 鐢熸垚 html js java 绫�
+     *
+     * @param data
+     */
+    private void generatorComponentHtml(JSONObject data) {
+
+        StringBuffer sb = readFile(GeneratorStart.class.getResource("/relationship/flow.html").getFile());
+        String fileContext = sb.toString();
+
+        fileContext = super.replaceBindingTemplateContext(fileContext, data);
+
+
+        String writePath = this.getClass().getResource("/").getPath()
+                + "out/relationship/" + data.getString("templateCode") + "/" + data.getString("templateCode") + "Flow.html";
+        System.out.printf("writePath: " + writePath);
+        writeFile(writePath,
+                fileContext);
+
+
+    }
+
+
+
+
+}

--
Gitblit v1.8.0