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 | 104 ++++++++++++++++++++++++++++++++--------------------
1 files changed, 64 insertions(+), 40 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index 041f727..fbcba99 100644
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,58 +1,82 @@
{
- "templateName": "鎵撳嵃閰嶇疆",
+ "templateName": "淇℃伅澶х被",
"directories": "property",
- "templateCode": "feePrintSpec",
- "templateKey": "specCd",
- "templateKeyName": "瑙勬牸",
- "searchCode": "specCd",
- "searchName": "瑙勬牸",
+ "templateCode": "activitiesType",
+ "templateKey": "typeCd",
+ "templateKeyName": "澶х被缂栫爜",
+ "searchCode": "typeCd",
+ "searchName": "澶х被缂栫爜",
"conditions": [
{
- "name": "瑙勬牸",
+ "name": "澶х被缂栫爜",
+ "inputType": "input",
+ "code": "typeCd",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "澶х被鍚嶇О",
+ "inputType": "input",
+ "code": "typeName",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "鏄惁鏄剧ず",
"inputType": "select",
- "selectValue": "1010",
- "selectValueName": "鍌即鎵撳嵃璇存槑",
- "code": "specCd",
+ "selectValue":"Y,N",
+ "selectValueName":"鏄�,鍚�",
+ "code": "defalutShow",
"whereCondition": "equal"
}
],
"columns": [
{
- "code": "specCd",
- "cnCode": "瑙勬牸",
- "desc": "蹇呭~锛岃濉啓瑙勬牸鍚嶇О",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "select",
- "selectValue": "1010",
- "selectValueName": "鍌即鎵撳嵃璇存槑",
- "limit": "num",
- "limitParam": "",
- "limitErrInfo": "瑙勬牸涓嶆槸鏈夋晥鏁板瓧",
- "show": true
- },
- {
- "code": "content",
- "cnCode": "鍐呭",
- "desc": "蹇呭~锛岃濉啓蹇呭~鍐呭",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "maxLength",
- "limitParam": "1000",
- "limitErrInfo": "璇存槑涓嶈兘瓒呰繃1000浣�",
- "show": false
- },
- {
- "code": "qrImg",
- "cnCode": "蹇呭~",
- "desc": "蹇呭~锛岃濉啓浜岀淮鐮�",
+ "code": "typeName",
+ "cnCode": "澶х被鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓澶х被鍚嶇О",
"required": true,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
"limitParam": "100",
- "limitErrInfo": "妯℃澘鏍煎紡閿欒",
+ "limitErrInfo": "澶х被鍚嶇О瓒呰繃100浣�",
+ "show": true
+ },
+ {
+ "code": "typeDesc",
+ "cnCode": "澶х被鎻忚堪",
+ "desc": "鍙~锛岃濉啓绫诲瀷鎻忚堪",
+ "required": false,
+ "hasDefaultValue": false,
+ "inputType": "input",
+ "limit": "maxLength",
+ "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
}
]
--
Gitblit v1.8.0