From efa63bc50db3fa487ce255fd4020c49960388c6b Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期六, 02 十一月 2019 11:56:54 +0800
Subject: [PATCH] 加入 投诉建议
---
java110-code-generator/src/main/resources/relationship/template_1.json | 198 +++++++++++++++++++------------------------------
1 files changed, 78 insertions(+), 120 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..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,142 +1,100 @@
{
- "templateName":"娣诲姞鎴垮眿",
- "templateCode":"addRoomBinding",
- "templateKey":"roomId",
- "templateKeyName":"鎴垮眿ID",
- "package": "roomPackage",
- "successUrl": "/",
+ "templateName":"鐧昏鎶曡瘔寤鸿",
+ "templateCode":"addComplaintStep",
+ "templateKey":"complaintId",
+ "templateKeyName":"鎶曡瘔ID",
+ "package": "complaintPackage",
+ "successUrl": "/flow/complaintFlow",
"needAffirm": false,
"flows":[
{
"index": 0,
- "code":"floor",
+ "code":"viewFloorInfo",
"flowKey": "floorId",
- "cnCode":"閫夋嫨妤�",
+ "cnCode":"閫夋嫨妤兼爧",
"vcName":"viewFloorInfo",
"businessName": "businessFloor",
- "businessType": "BUSINESS_TYPE_SAVE_FLOOR_INFO",
+ "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",
+ "code":"sellRoomSelectRoom",
+ "flowKey": "roomId",
+ "cnCode":"閫夋嫨鎴垮眿",
+ "vcName":"sellRoomSelectRoom",
+ "businessName": "businessRoom",
+ "businessType": "BUSINESS_TYPE_SAVE_ROOM_INFO",
"existsComponent": true
},
{
"index": 2,
- "code":"room",
- "flowKey": "roomId",
- "cnCode":"娣诲姞鎴垮眿",
- "vcName":"addRoomView",
- "businessName": "businessRoom",
- "businessType": "BUSINESS_TYPE_SAVE_ROOM_INFO",
+ "code":"addComplain",
+ "flowKey": "complainId",
+ "cnCode":"鎶曡瘔寤鸿",
+ "vcName":"addComplain",
+ "businessName": "businessComplain",
+ "businessType": "BUSINESS_TYPE_SAVE_COMPLAIN_INFO",
"existsComponent": false
}
],
"components": {
- "addRoomView": {
- "templateName":"娣诲姞鎴垮眿",
- "templateCode":"addRoom",
- "package": "roomPackage",
- "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":"蹇呭~锛岃閫夋嫨鎴垮眿鎴峰瀷",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"select",
- "selectValue":"涓�瀹や袱鍘�,涓ゅ涓ゅ巺",
- "selectValueName":"1010,2020",
- "limit":"maxLength",
- "limitParam":"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"
- }
- ]
- }
+ "addComplain": {
+ "templateName": "鎶曡瘔寤鸿",
+ "templateCode": "addComplain",
+ "package": "complaintPackage",
+ "columns": [
+ {
+ "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":"maxLength",
+ "limitParam":"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
+ }
+ ]
+ }
}
}
\ No newline at end of file
--
Gitblit v1.8.0