From a9930a99dd41b687ec29fd6398cfbcbfd39db76d Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 16 五月 2020 22:26:11 +0800
Subject: [PATCH] 阿拽。(251217411) 优化代码生成器

---
 java110-code-generator/src/main/resources/relationship/template_1.json |  203 ++++++++++++++++++--------------------------------
 1 files changed, 72 insertions(+), 131 deletions(-)

diff --git a/java110-code-generator/src/main/resources/relationship/template_1.json b/java110-code-generator/src/main/resources/relationship/template_1.json
index 979ea0d..be43247 100644
--- a/java110-code-generator/src/main/resources/relationship/template_1.json
+++ b/java110-code-generator/src/main/resources/relationship/template_1.json
@@ -1,156 +1,97 @@
 {
-  "templateName":"閰嶇疆鑿滃崟",
-  "templateCode":"configMenu",
-  "templateKey":"mId",
-  "templateKeyName":"鑿滃崟ID",
-  "package": "menuPackage",
-  "successUrl": "/flow/menuFlow",
+  "templateName":"鐧昏鎶曡瘔寤鸿",
+  "templateCode":"addComplaintStep",
+  "templateKey":"complaintId",
+  "templateKeyName":"鎶曡瘔ID",
+  "package": "complaintPackage",
+  "successUrl": "/flow/complaintFlow",
   "needAffirm": false,
   "flows":[
     {
       "index": 0,
-      "code":"menuGroup",
-      "flowKey": "gId",
-      "cnCode":"閫夋嫨鑿滃崟缁�",
-      "vcName":"viewMenuGroupInfo",
-      "businessName": "businessMenuGroup",
-      "businessType": "BUSINESS_TYPE_SAVE_MENU_GROUP_INFO",
+      "code":"viewFloorInfo",
+      "flowKey": "floorId",
+      "cnCode":"閫夋嫨妤兼爧",
+      "vcName":"viewFloorInfo",
+      "businessName": "businessFloor",
+      "businessType": "BUSINESS_TYPE_SAVE_FlOOR_INFO",
       "existsComponent": true
     },
     {
       "index": 1,
-      "code":"menu",
-      "flowKey": "mId",
-      "cnCode":"鑿滃崟淇℃伅",
-      "vcName":"addMenuView",
-      "businessName": "businessMenu",
-      "businessType": "BUSINESS_TYPE_SAVE_MENU_INFO",
-      "existsComponent": false
+      "code":"sellRoomSelectRoom",
+      "flowKey": "roomId",
+      "cnCode":"閫夋嫨鎴垮眿",
+      "vcName":"sellRoomSelectRoom",
+      "businessName": "businessRoom",
+      "businessType": "BUSINESS_TYPE_SAVE_ROOM_INFO",
+      "existsComponent": true
     },
     {
       "index": 2,
-      "code":"privilege",
-      "flowKey": "pId",
-      "cnCode":"鏉冮檺淇℃伅",
-      "vcName":"addPrivilegeView",
-      "businessName": "businessPrivilege",
-      "businessType": "BUSINESS_TYPE_SAVE_PRIVILEGE_INFO",
+      "code":"addComplain",
+      "flowKey": "complainId",
+      "cnCode":"鎶曡瘔寤鸿",
+      "vcName":"addComplain",
+      "businessName": "businessComplain",
+      "businessType": "BUSINESS_TYPE_SAVE_COMPLAIN_INFO",
       "existsComponent": false
     }
   ],
   "components": {
-      "addMenuView": {
-        "templateName":"鑿滃崟淇℃伅",
-        "templateCode":"addMenu",
-        "package": "menuPackage",
-        "columns":[
-          {
-            "code":"name",
-            "cnCode":"鑿滃崟鍚嶇О",
-            "desc":"蹇呭~锛岃濉啓鑿滃崟鍚嶇О",
-            "required":true,
-            "hasDefaultValue":false,
-            "inputType":"input",
-            "limit":"maxin",
-            "limitParam":"2,10",
-            "limitErrInfo":"鑿滃崟鍚嶇О蹇呴』鍦�2鑷�10瀛楃涔嬮棿",
-            "show": true
-          },
-          {
-            "code":"url",
-            "cnCode":"鑿滃崟鍦板潃",
-            "desc":"蹇呭~锛岃鑿滃崟鑿滃崟鍦板潃",
-            "required":true,
-            "hasDefaultValue":false,
-            "inputType":"input",
-            "limit":"maxin",
-            "limitParam":"2,10",
-            "limitErrInfo":"鑿滃崟鍚嶇О蹇呴』鍦�2鑷�10瀛楃涔嬮棿",
-            "show": true
-          },
-          {
-            "code":"seq",
-            "cnCode":"搴忓垪",
-            "desc":"蹇呭~锛岃濉啓搴忓垪",
-            "required":true,
-            "hasDefaultValue":false,
-            "inputType":"input",
-            "limit":"num",
-            "limitParam":"",
-            "limitErrInfo":"搴忓垪蹇呴』涓烘暣鏁�",
-            "show": true
-          },
-          {
-            "code":"isShow",
-            "cnCode":"鑿滃崟鏄剧ず",
-            "desc":"蹇呭~锛岃閫夋嫨鏄惁鏄剧ず鑿滃崟",
-            "required":true,
-            "hasDefaultValue":false,
-            "inputType":"select",
-            "selectValue":"Y,N",
-            "selectValueName":"鏄剧ず鑿滃崟,涓嶆樉绀鸿彍鍗�",
-            "limit":"maxin",
-            "limitParam":"1,12",
-            "limitErrInfo":"鑿滃崟鏄剧ず閿欒",
-            "show": true
-          },
-          {
-            "code":"description",
-            "cnCode":"鎻忚堪",
-            "desc":"鍙~锛岃濉啓鎻忚堪",
-            "required":false,
-            "hasDefaultValue":false,
-            "defaultValue":"",
-            "inputType":"textarea",
-            "limit":"maxLength",
-            "limitParam":"200",
-            "limitErrInfo":"澶囨敞鍐呭涓嶈兘瓒呰繃200",
-            "show": false
-          }
-        ]
-      },
-    "addPrivilegeView": {
-      "templateName":"鏉冮檺淇℃伅",
-      "templateCode":"addPrivilege",
-      "package": "privilegePackage",
-      "columns":[
+    "addComplain": {
+      "templateName": "鎶曡瘔寤鸿",
+      "templateCode": "addComplain",
+      "package": "complaintPackage",
+      "columns": [
         {
-          "code":"name",
-          "cnCode":"鏉冮檺鍚嶇О",
-          "desc":"蹇呭~锛岃濉啓鏉冮檺鍚嶇О",
+          "code": "typeCd",
+          "cnCode":"鎶曡瘔绫诲瀷",
+          "desc":"蹇呭~锛岃閫夋嫨鎶曡瘔绫诲瀷",
+          "required":true,
+          "hasDefaultValue":false,
+          "inputType": "select",
+          "selectValue":"809001,809002",
+          "selectValueName":"鎶曡瘔,寤鸿",
+          "limit":"num",
+          "limitParam":"",
+          "limitErrInfo":"鎶曡瘔绫诲瀷鏍煎紡閿欒",
+          "show": true
+        },
+        {
+          "code":"complaintName",
+          "cnCode":"鎶曡瘔浜�",
+          "desc":"蹇呭~锛岃濉啓鎶曡瘔浜�",
           "required":true,
           "hasDefaultValue":false,
           "inputType":"input",
-          "limit":"maxin",
-          "limitParam":"2,10",
-          "limitErrInfo":"鏉冮檺鍚嶇О蹇呴』鍦�2鑷�10瀛楃涔嬮棿",
-          "show": true
-        },
-        {
-          "code":"domain",
-          "cnCode":"鍟嗘埛绫诲瀷",
-          "desc":"蹇呭~锛岃閫夋嫨鍟嗘埛绫诲瀷",
-          "required":true,
-          "hasDefaultValue":false,
-          "inputType":"select",
-          "selectValue":"800900000001,800900000002,800900000003,800900000000",
-          "selectValueName":"杩愯惀鍥㈤槦,浠g悊鍟�,鐗╀笟,寮�鍙戝洟闃�",
-          "limit":"maxin",
-          "limitParam":"1,12",
-          "limitErrInfo":"鍟嗘埛绫诲瀷閿欒",
-          "show": true
-        },
-        {
-          "code":"description",
-          "cnCode":"鎻忚堪",
-          "desc":"鍙~锛岃濉啓鎻忚堪",
-          "required":false,
-          "hasDefaultValue":false,
-          "defaultValue":"",
-          "inputType":"textarea",
           "limit":"maxLength",
           "limitParam":"200",
-          "limitErrInfo":"澶囨敞鍐呭涓嶈兘瓒呰繃200",
+          "limitErrInfo":"鎶曡瘔浜轰笉鑳藉ぇ浜�200浣�",
+          "show": false
+        },
+        {
+          "code":"tel",
+          "cnCode":"鎶曡瘔鐢佃瘽",
+          "desc":"蹇呭~锛岃濉啓鎶曡瘔鐢佃瘽",
+          "required":true,
+          "hasDefaultValue":false,
+          "inputType":"input",
+          "limit":"phone",
+          "limitParam":"",
+          "limitErrInfo":"鎶曡瘔鐢佃瘽鏍煎紡閿欒",
+          "show": true
+        },
+        {
+          "code":"context",
+          "cnCode":"鎶曡瘔鍐呭",
+          "desc":"蹇呭~锛岃濉啓鎶曡瘔鍐呭",
+          "required":true,
+          "hasDefaultValue":false,
+          "inputType":"textarea",
+          "limit":"maxLength",
+          "limitParam":"4000",
+          "limitErrInfo":"鎶曡瘔鐘舵�佽秴杩�4000浣�",
           "show": false
         }
       ]

--
Gitblit v1.8.0