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 | 154 +++++++++++++++++++++++++++------------------------
1 files changed, 81 insertions(+), 73 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 94b1619..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,92 +1,100 @@
{
- "templateName":"鏈嶅姟缁戝畾",
- "templateCode":"serviceBinding",
- "templateKey":"id",
- "templateKeyName":"缁戝畾ID",
- "package": "servicePackage",
- "successUrl": "/flow/serviceRegisterFlow",
+ "templateName":"鐧昏鎶曡瘔寤鸿",
+ "templateCode":"addComplaintStep",
+ "templateKey":"complaintId",
+ "templateKeyName":"鎶曡瘔ID",
+ "package": "complaintPackage",
+ "successUrl": "/flow/complaintFlow",
"needAffirm": false,
"flows":[
{
"index": 0,
- "code":"app",
- "flowKey": "appId",
- "cnCode":"閫夋嫨搴旂敤",
- "vcName":"viewAppInfo",
- "businessName": "businessApp",
- "businessType": "BUSINESS_TYPE_SAVE_APP_INFO",
+ "code":"viewFloorInfo",
+ "flowKey": "floorId",
+ "cnCode":"閫夋嫨妤兼爧",
+ "vcName":"viewFloorInfo",
+ "businessName": "businessFloor",
+ "businessType": "BUSINESS_TYPE_SAVE_FlOOR_INFO",
"existsComponent": true
},
{
"index": 1,
- "code":"service",
- "flowKey": "serviceId",
- "cnCode":"閫夋嫨鏈嶅姟",
- "vcName":"viewServiceInfo",
- "businessName": "businessService",
- "businessType": "BUSINESS_TYPE_SAVE_SERVICE_INFO",
+ "code":"sellRoomSelectRoom",
+ "flowKey": "roomId",
+ "cnCode":"閫夋嫨鎴垮眿",
+ "vcName":"sellRoomSelectRoom",
+ "businessName": "businessRoom",
+ "businessType": "BUSINESS_TYPE_SAVE_ROOM_INFO",
"existsComponent": true
},
{
"index": 2,
- "code":"route",
- "flowKey": "id",
- "cnCode":"鎵╁睍淇℃伅",
- "vcName":"addRouteView",
- "businessName": "businessRoute",
- "businessType": "BUSINESS_TYPE_SAVE_ROUTE_INFO",
+ "code":"addComplain",
+ "flowKey": "complainId",
+ "cnCode":"鎶曡瘔寤鸿",
+ "vcName":"addComplain",
+ "businessName": "businessComplain",
+ "businessType": "BUSINESS_TYPE_SAVE_COMPLAIN_INFO",
"existsComponent": false
}
],
"components": {
- "addRouteView": {
- "templateName":"鎵╁睍淇℃伅",
- "templateCode":"addRoute",
- "package": "servicePackage",
- "columns":[
- {
- "code":"orderTypeCd",
- "cnCode":"璁㈠崟绫诲瀷",
- "desc":"蹇呭~锛岃濉啓璁㈠崟绫诲瀷",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"select",
- "selectValue":"Q,D",
- "selectValueName":"鏌ヨ,涓氬姟鍙楃悊",
- "limit":"maxin",
- "limitParam":"1,4",
- "limitErrInfo":"璁㈠崟绫诲瀷閿欒",
- "show": true
- },
- {
- "code":"invokeLimitTimes",
- "cnCode":"璋冪敤娆℃暟",
- "desc":"蹇呭~锛岃濉啓璋冪敤娆℃暟",
- "required":true,
- "hasDefaultValue":true,
- "defaultValue":"1000",
- "inputType":"input",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"璋冪敤娆℃暟閿欒",
- "show": false
- },
- {
- "code":"invokeModel",
- "cnCode":"璋冪敤鏂瑰紡",
- "desc":"鍙~锛岃濉啓娑堟伅闃熷垪锛岃鍗曞湪寮傛璋冪敤鏃朵娇鐢�",
- "required":true,
- "hasDefaultValue":false,
- "defaultValue":"",
- "inputType":"select",
- "selectValue":"S,A",
- "selectValueName":"鍚屾鏂瑰紡,寮傛鏂瑰紡",
- "limit":"maxLength",
- "limitParam":"50",
- "limitErrInfo":"娑堟伅闃熷垪涓嶈兘瓒呰繃50",
- "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