From 9df40dad0fd0f52f108b598ac78b3bbff5eda1f9 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期六, 10 八月 2019 21:50:28 +0800
Subject: [PATCH] 加入 服务绑定扩展信息

---
 java110-code-generator/src/main/resources/relationship/template_1.json |  162 ++++++++++++++++++-----------------------------------
 1 files changed, 56 insertions(+), 106 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 36c9eaa..94b1619 100644
--- a/java110-code-generator/src/main/resources/relationship/template_1.json
+++ b/java110-code-generator/src/main/resources/relationship/template_1.json
@@ -1,140 +1,90 @@
 {
-  "templateName":"娣诲姞鎴垮眿",
-  "templateCode":"addRoomBinding",
-  "templateKey":"roomId",
-  "templateKeyName":"鎴垮眿ID",
-  "package": "roomPackage",
-  "successUrl": "/",
+  "templateName":"鏈嶅姟缁戝畾",
+  "templateCode":"serviceBinding",
+  "templateKey":"id",
+  "templateKeyName":"缁戝畾ID",
+  "package": "servicePackage",
+  "successUrl": "/flow/serviceRegisterFlow",
   "needAffirm": false,
   "flows":[
     {
       "index": 0,
-      "code":"floor",
-      "flowKey": "floorId",
-      "cnCode":"閫夋嫨妤�",
-      "vcName":"viewFloorInfo",
-      "businessName": "businessFloor",
-      "businessType": "BUSINESS_TYPE_SAVE_FLOOR_INFO",
+      "code":"app",
+      "flowKey": "appId",
+      "cnCode":"閫夋嫨搴旂敤",
+      "vcName":"viewAppInfo",
+      "businessName": "businessApp",
+      "businessType": "BUSINESS_TYPE_SAVE_APP_INFO",
       "existsComponent": true
     },
     {
       "index": 1,
-      "code":"unit",
-      "flowKey": "unitId",
-      "cnCode":"閫夋嫨鍗曞厓",
-      "vcName":"viewUnitInfo",
-      "businessName": "businessUnit",
-      "businessType": "BUSINESS_TYPE_SAVE_UNIT_INFO",
+      "code":"service",
+      "flowKey": "serviceId",
+      "cnCode":"閫夋嫨鏈嶅姟",
+      "vcName":"viewServiceInfo",
+      "businessName": "businessService",
+      "businessType": "BUSINESS_TYPE_SAVE_SERVICE_INFO",
       "existsComponent": true
     },
     {
       "index": 2,
-      "code":"room",
-      "flowKey": "roomId",
-      "cnCode":"娣诲姞鎴垮眿",
-      "vcName":"addRoomView",
-      "businessName": "businessRoom",
-      "businessType": "BUSINESS_TYPE_SAVE_ROOM_INFO",
+      "code":"route",
+      "flowKey": "id",
+      "cnCode":"鎵╁睍淇℃伅",
+      "vcName":"addRouteView",
+      "businessName": "businessRoute",
+      "businessType": "BUSINESS_TYPE_SAVE_ROUTE_INFO",
       "existsComponent": false
     }
   ],
   "components": {
-      "addRoomView": {
-        "templateName":"娣诲姞鎴垮眿",
-        "templateCode":"addRoom",
-        "package": "roomPackage",
+      "addRouteView": {
+        "templateName":"鎵╁睍淇℃伅",
+        "templateCode":"addRoute",
+        "package": "servicePackage",
         "columns":[
           {
-            "code":"roomNum",
-            "cnCode":"鎴垮眿缂栧彿",
-            "desc":"蹇呭~锛岃濉啓鎴垮眿缂栧彿",
-            "required":true,
-            "hasDefaultValue":false,
-            "inputType":"input",
-            "limit":"maxLength",
-            "limitParam":"12",
-            "limitErrInfo":"鎴垮眿缂栧彿闀垮害涓嶈兘瓒呰繃12浣�"
-          },
-          {
-            "code":"layer",
-            "cnCode":"鎴垮眿妤煎眰",
-            "desc":"蹇呭~锛岃濉啓鎴垮眿妤煎眰",
-            "required":true,
-            "hasDefaultValue":false,
-            "inputType":"input",
-            "limit":"num",
-            "limitParam":"",
-            "limitErrInfo":"鎴垮眿妤煎眰楂樺害蹇呴』涓烘暟瀛�"
-          },
-          {
-            "code":"section",
-            "cnCode":"鎴块棿鏁�",
-            "desc":"蹇呭~锛岃濉啓鎴垮眿妤煎眰",
-            "required":true,
-            "hasDefaultValue":false,
-            "inputType":"input",
-            "limit":"num",
-            "limitParam":"",
-            "limitErrInfo":"鎴块棿鏁板繀椤讳负鏁板瓧"
-          },
-          {
-            "code":"apartment",
-            "cnCode":"鎴垮眿鎴峰瀷",
-            "desc":"蹇呭~锛岃閫夋嫨鎴垮眿鎴峰瀷",
+            "code":"orderTypeCd",
+            "cnCode":"璁㈠崟绫诲瀷",
+            "desc":"蹇呭~锛岃濉啓璁㈠崟绫诲瀷",
             "required":true,
             "hasDefaultValue":false,
             "inputType":"select",
-            "selectValue":"涓�瀹や袱鍘�,涓ゅ涓ゅ巺",
-            "selectValueName":"1010,2020",
-            "limit":"maxLength",
-            "limitParam":"50",
-            "limitErrInfo":"鎴垮眿鎴峰瀷涓嶈兘澶т簬50"
+            "selectValue":"Q,D",
+            "selectValueName":"鏌ヨ,涓氬姟鍙楃悊",
+            "limit":"maxin",
+            "limitParam":"1,4",
+            "limitErrInfo":"璁㈠崟绫诲瀷閿欒",
+            "show": true
           },
           {
-            "code":"builtUpArea",
-            "cnCode":"寤虹瓚闈㈢Н",
-            "desc":"蹇呭~锛岃濉啓鎴垮眿寤虹瓚闈㈢Н",
-            "required":true,
-            "hasDefaultValue":false,
-            "inputType":"input",
-            "limit":"money",
-            "limitParam":"",
-            "limitErrInfo":"寤虹瓚闈㈢Н閿欒锛屽 300.00"
-          },
-          {
-            "code":"unitPrice",
-            "cnCode":"鎴垮眿鍗曚环",
-            "desc":"蹇呭~锛岃濉啓鎴垮眿姣忓钩绫冲崟浠�",
-            "required":true,
-            "hasDefaultValue":false,
-            "inputType":"input",
-            "limit":"money",
-            "limitParam":"",
-            "limitErrInfo":"鎴垮眿鍗曚环閿欒 濡� 300.00"
-          },
-          {
-            "code":"state",
-            "cnCode":"鎴垮眿鐘舵��",
-            "desc":"蹇呭~锛岃閫夋嫨鎴垮眿鐘舵��",
+            "code":"invokeLimitTimes",
+            "cnCode":"璋冪敤娆℃暟",
+            "desc":"蹇呭~锛岃濉啓璋冪敤娆℃暟",
             "required":true,
             "hasDefaultValue":true,
-            "defaultValue":"2002",
-            "inputType":"none",
-            "limit":"maxLength",
-            "limitParam":"12",
-            "limitErrInfo":"鎴垮眿鐘舵�� 涓嶈兘瓒呰繃12浣�"
+            "defaultValue":"1000",
+            "inputType":"input",
+            "limit":"num",
+            "limitParam":"",
+            "limitErrInfo":"璋冪敤娆℃暟閿欒",
+            "show": false
           },
           {
-            "code":"remark",
-            "cnCode":"澶囨敞",
-            "desc":"鍙~锛岃濉啓澶囨敞",
-            "required":false,
+            "code":"invokeModel",
+            "cnCode":"璋冪敤鏂瑰紡",
+            "desc":"鍙~锛岃濉啓娑堟伅闃熷垪锛岃鍗曞湪寮傛璋冪敤鏃朵娇鐢�",
+            "required":true,
             "hasDefaultValue":false,
             "defaultValue":"",
-            "inputType":"textarea",
+            "inputType":"select",
+            "selectValue":"S,A",
+            "selectValueName":"鍚屾鏂瑰紡,寮傛鏂瑰紡",
             "limit":"maxLength",
-            "limitParam":"200",
-            "limitErrInfo":"澶囨敞鍐呭涓嶈兘瓒呰繃200"
+            "limitParam":"50",
+            "limitErrInfo":"娑堟伅闃熷垪涓嶈兘瓒呰繃50",
+            "show": false
           }
         ]
       }

--
Gitblit v1.8.0