From 69e2baf5518079bfc16cfadc2fb29842fb3de85d Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 14 一月 2020 21:02:48 +0800
Subject: [PATCH] 加入userName
---
java110-code-generator/src/main/resources/relationship/template_1.json | 159 ++++++++++++++++++++++++-----------------------------
1 files changed, 72 insertions(+), 87 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 d87c16b..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,25 +1,25 @@
{
- "templateName":"娣诲姞涓氫富",
- "templateCode":"addOwner",
- "templateKey":"ownerId",
- "templateKeyName":"涓氫富ID",
- "package": "ownerPackage",
- "successUrl": "/flow/ownerFlow",
+ "templateName":"鐧昏鎶曡瘔寤鸿",
+ "templateCode":"addComplaintStep",
+ "templateKey":"complaintId",
+ "templateKeyName":"鎶曡瘔ID",
+ "package": "complaintPackage",
+ "successUrl": "/flow/complaintFlow",
"needAffirm": false,
"flows":[
{
"index": 0,
- "code":"floor",
+ "code":"viewFloorInfo",
"flowKey": "floorId",
"cnCode":"閫夋嫨妤兼爧",
"vcName":"viewFloorInfo",
"businessName": "businessFloor",
- "businessType": "BUSINESS_TYPE_SAVE_FLOOR_INFO",
+ "businessType": "BUSINESS_TYPE_SAVE_FlOOR_INFO",
"existsComponent": true
},
{
"index": 1,
- "code":"room",
+ "code":"sellRoomSelectRoom",
"flowKey": "roomId",
"cnCode":"閫夋嫨鎴垮眿",
"vcName":"sellRoomSelectRoom",
@@ -29,87 +29,72 @@
},
{
"index": 2,
- "code":"owner",
- "flowKey": "ownerId",
- "cnCode":"濉啓涓氫富淇℃伅",
- "vcName":"addOwner",
- "businessName": "businessOwner",
- "businessType": "BUSINESS_TYPE_SAVE_OWNER_INFO",
+ "code":"addComplain",
+ "flowKey": "complainId",
+ "cnCode":"鎶曡瘔寤鸿",
+ "vcName":"addComplain",
+ "businessName": "businessComplain",
+ "businessType": "BUSINESS_TYPE_SAVE_COMPLAIN_INFO",
"existsComponent": false
}
],
"components": {
- "addOwner": {
- "templateName":"娣诲姞涓氫富",
- "templateCode":"addOwner",
- "package": "ownerPackage",
- "columns":[
- {
- "code":"name",
- "cnCode":"鍚嶇О",
- "desc":"蹇呭~锛屽悕绉颁笉鑳戒负绌�",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"input",
- "limit":"maxin",
- "limitParam":"2,10",
- "limitErrInfo":"鍚嶇О闀垮害蹇呴』鍦�2浣嶈嚦10浣�",
- "show": true
- },
- {
- "code":"sex",
- "cnCode":"鎬у埆",
- "desc":"蹇呭~锛岃閫夋嫨鎬у埆",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"select",
- "selectValue":"1,0",
- "selectValueName":"鐢�,濂�",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"鎬у埆涓嶈兘涓虹┖",
- "show": true
- },
- {
- "code":"age",
- "cnCode":"骞撮緞",
- "desc":"蹇呭~锛岃濉啓骞撮緞",
- "required":true,
- "hasDefaultValue":false,
- "defaultValue":"",
- "inputType":"input",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"骞撮緞涓嶆槸鏈夋晥鐨勬暟瀛�",
- "show": false
- },
- {
- "code":"link",
- "cnCode":"鎵嬫満",
- "desc":"蹇呭~锛岃濉啓鑱旂郴鏂瑰紡",
- "required":false,
- "hasDefaultValue":false,
- "defaultValue":"",
- "inputType":"textarea",
- "limit":"maxLength",
- "limitParam":"2000",
- "limitErrInfo":"杈撳嚭妯℃澘涓嶈兘瓒呰繃2000",
- "show": false
- },
- {
- "code":"remark",
- "cnCode":"澶囨敞",
- "desc":"鍙~锛岃濉啓澶囨敞",
- "required":false,
- "hasDefaultValue":false,
- "defaultValue":"",
- "inputType":"textarea",
- "limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"澶囨敞闀垮害涓嶈兘瓒呰繃200浣�",
- "show": false
- }
- ]
- }
+ "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