From bdced1d6c6798882e540023dfa80b00db12a0a20 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期日, 04 十月 2020 13:18:15 +0800
Subject: [PATCH] 加入信息大类
---
java110-generator/src/main/resources/web/template_1.json | 122 +++++++++++++++++-----------------------
1 files changed, 51 insertions(+), 71 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index 0c4c799..fbcba99 100644
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,103 +1,83 @@
{
- "templateName": "浜哄伐鎵樻敹",
+ "templateName": "淇℃伅澶х被",
"directories": "property",
- "templateCode": "feeManualCollection",
- "templateKey": "collectionId",
- "templateKeyName": "鎵樻敹ID",
- "searchCode": "collectionId",
- "searchName": "鎵樻敹ID",
+ "templateCode": "activitiesType",
+ "templateKey": "typeCd",
+ "templateKeyName": "澶х被缂栫爜",
+ "searchCode": "typeCd",
+ "searchName": "澶х被缂栫爜",
"conditions": [
{
- "name": "鎴垮眿缂栧彿",
+ "name": "澶х被缂栫爜",
"inputType": "input",
- "code": "roomName",
+ "code": "typeCd",
"whereCondition": "equal"
},
{
- "name": "涓氫富鍚嶇О",
+ "name": "澶х被鍚嶇О",
"inputType": "input",
- "code": "ownerName",
+ "code": "typeName",
"whereCondition": "equal"
},
{
- "name": "涓氫富鐢佃瘽",
- "inputType": "input",
- "code": "link",
+ "name": "鏄惁鏄剧ず",
+ "inputType": "select",
+ "selectValue":"Y,N",
+ "selectValueName":"鏄�,鍚�",
+ "code": "defalutShow",
"whereCondition": "equal"
}
],
"columns": [
{
- "code": "roomName",
- "cnCode": "瑙勬牸",
- "desc": "蹇呭~锛岃濉啓鎴垮眿锛屽妤兼爧-鍗曞厓-鎴垮眿",
+ "code": "typeName",
+ "cnCode": "澶х被鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓澶х被鍚嶇О",
"required": true,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
"limitParam": "100",
- "limitErrInfo": "鎴垮眿閿欒",
+ "limitErrInfo": "澶х被鍚嶇О瓒呰繃100浣�",
"show": true
},
{
- "code": "ownerName",
- "cnCode": "涓氫富鍚嶇О",
- "desc": "蹇呭~锛岃濉啓涓氫富鍚嶇О",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "maxLength",
- "limitParam": "100",
- "limitErrInfo": "涓氫富鍚嶇О瓒呰繃100浣�",
- "show": true
- },
- {
- "code": "link",
- "cnCode": "涓氫富鐢佃瘽",
- "desc": "蹇呭~锛岃濉啓涓氫富鐢佃瘽",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "phone",
- "limitParam": "",
- "limitErrInfo": "涓氫富鐢佃瘽鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "roomArea",
- "cnCode": "鎴垮眿闈㈢Н",
- "desc": "蹇呭~锛岃濉啓鎴垮眿闈㈢Н",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "money",
- "limitParam": "",
- "limitErrInfo": "鎴垮眿闈㈢Н鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "squarePrice",
- "cnCode": "鎴垮眿鍗曚环",
- "desc": "蹇呭~锛岃濉啓鎴垮眿鍗曚环",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "money",
- "limitParam": "",
- "limitErrInfo": "鎴垮眿鍗曚环鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "remark",
- "cnCode": "澶囨敞",
- "desc": "閫夊~锛岃濉啓澶囨敞",
+ "code": "typeDesc",
+ "cnCode": "澶х被鎻忚堪",
+ "desc": "鍙~锛岃濉啓绫诲瀷鎻忚堪",
"required": false,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
- "limitParam": "200",
- "limitErrInfo": "澶囨敞瓒呰繃200浣�",
- "show": false
+ "limitParam": "500",
+ "limitErrInfo": "鎻忚堪瓒呰繃500浣�",
+ "show": true
+ },
+ {
+ "code": "seq",
+ "cnCode": "鏄剧ず搴忓彿",
+ "desc": "蹇呭~锛岃濉啓鏄剧ず搴忓彿",
+ "required": true,
+ "hasDefaultValue": false,
+ "inputType": "input",
+ "limit": "num",
+ "limitParam": "",
+ "limitErrInfo": "鏄剧ず搴忓彿涓嶆槸鏈夋晥鏁板瓧",
+ "show": true
+ },
+ {
+ "code": "defalutShow",
+ "cnCode": "鏄惁鏄剧ず",
+ "desc": "蹇呭~锛岃濉啓鏄惁鏄剧ず",
+ "required": true,
+ "hasDefaultValue": false,
+ "inputType": "select",
+ "selectValue": "Y,N",
+ "selectValueName": "鏄�,鍚�",
+ "limit": "maxLength",
+ "limitParam": "2",
+ "limitErrInfo": "鏄惁鏄剧ず鏍煎紡閿欒",
+ "show": true
}
]
}
\ No newline at end of file
--
Gitblit v1.8.0