From 2f73a671db8bf132baaba12a5c2a9c3b611589e9 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 01 八月 2019 17:14:26 +0800
Subject: [PATCH] 修复 添加房屋时的侦听 类修改

---
 java110-code-generator/src/main/resources/relationship/template_1.json |   99 +++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 95 insertions(+), 4 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 6e95fcd..36c9eaa 100644
--- a/java110-code-generator/src/main/resources/relationship/template_1.json
+++ b/java110-code-generator/src/main/resources/relationship/template_1.json
@@ -10,22 +10,31 @@
     {
       "index": 0,
       "code":"floor",
+      "flowKey": "floorId",
       "cnCode":"閫夋嫨妤�",
       "vcName":"viewFloorInfo",
+      "businessName": "businessFloor",
+      "businessType": "BUSINESS_TYPE_SAVE_FLOOR_INFO",
       "existsComponent": true
     },
     {
       "index": 1,
       "code":"unit",
+      "flowKey": "unitId",
       "cnCode":"閫夋嫨鍗曞厓",
       "vcName":"viewUnitInfo",
+      "businessName": "businessUnit",
+      "businessType": "BUSINESS_TYPE_SAVE_UNIT_INFO",
       "existsComponent": true
     },
     {
       "index": 2,
       "code":"room",
+      "flowKey": "roomId",
       "cnCode":"娣诲姞鎴垮眿",
       "vcName":"addRoomView",
+      "businessName": "businessRoom",
+      "businessType": "BUSINESS_TYPE_SAVE_ROOM_INFO",
       "existsComponent": false
     }
   ],
@@ -33,17 +42,99 @@
       "addRoomView": {
         "templateName":"娣诲姞鎴垮眿",
         "templateCode":"addRoom",
+        "package": "roomPackage",
         "columns":[
           {
-            "code":"name",
-            "cnCode":"鏈嶅姟鍚嶇О",
-            "desc":"蹇呭~锛岃濉啓鏈嶅姟鍚嶇О",
+            "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":"蹇呭~锛岃閫夋嫨鎴垮眿鎴峰瀷",
+            "required":true,
+            "hasDefaultValue":false,
+            "inputType":"select",
+            "selectValue":"涓�瀹や袱鍘�,涓ゅ涓ゅ巺",
+            "selectValueName":"1010,2020",
+            "limit":"maxLength",
             "limitParam":"50",
-            "limitErrInfo":"鏈嶅姟鍚嶇О涓嶈兘瓒呰繃50"
+            "limitErrInfo":"鎴垮眿鎴峰瀷涓嶈兘澶т簬50"
+          },
+          {
+            "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":"蹇呭~锛岃閫夋嫨鎴垮眿鐘舵��",
+            "required":true,
+            "hasDefaultValue":true,
+            "defaultValue":"2002",
+            "inputType":"none",
+            "limit":"maxLength",
+            "limitParam":"12",
+            "limitErrInfo":"鎴垮眿鐘舵�� 涓嶈兘瓒呰繃12浣�"
+          },
+          {
+            "code":"remark",
+            "cnCode":"澶囨敞",
+            "desc":"鍙~锛岃濉啓澶囨敞",
+            "required":false,
+            "hasDefaultValue":false,
+            "defaultValue":"",
+            "inputType":"textarea",
+            "limit":"maxLength",
+            "limitParam":"200",
+            "limitErrInfo":"澶囨敞鍐呭涓嶈兘瓒呰繃200"
           }
         ]
       }

--
Gitblit v1.8.0