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 | 90 ++++++++++++++++++++++++++++++++------------
1 files changed, 65 insertions(+), 25 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index 80c93e3..fbcba99 100644
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,42 +1,82 @@
{
- "templateName":"鍏憡鍏紡",
+ "templateName": "淇℃伅澶х被",
"directories": "property",
- "templateCode":"feeFormula",
- "templateKey":"formulaId",
- "templateKeyName":"鍏紡ID",
- "searchCode": "formulaId",
- "searchName": "鍏紡ID",
+ "templateCode": "activitiesType",
+ "templateKey": "typeCd",
+ "templateKeyName": "澶х被缂栫爜",
+ "searchCode": "typeCd",
+ "searchName": "澶х被缂栫爜",
"conditions": [
{
- "name": "鍏紡ID",
+ "name": "澶х被缂栫爜",
"inputType": "input",
- "code": "formulaId",
+ "code": "typeCd",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "澶х被鍚嶇О",
+ "inputType": "input",
+ "code": "typeName",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "鏄惁鏄剧ず",
+ "inputType": "select",
+ "selectValue":"Y,N",
+ "selectValueName":"鏄�,鍚�",
+ "code": "defalutShow",
"whereCondition": "equal"
}
],
- "columns":[
+ "columns": [
{
- "code": "formulaValue",
- "cnCode":"鍏紡",
- "desc":"蹇呭~锛岃濉啓鍏紡",
- "required":true,
- "hasDefaultValue":false,
+ "code": "typeName",
+ "cnCode": "澶х被鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓澶х被鍚嶇О",
+ "required": true,
+ "hasDefaultValue": false,
"inputType": "input",
- "limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"鍏紡澶鏉�",
+ "limit": "maxLength",
+ "limitParam": "100",
+ "limitErrInfo": "澶х被鍚嶇О瓒呰繃100浣�",
"show": true
},
{
- "code": "formulaDesc",
- "cnCode":"鎻忚堪",
- "desc":"閫夊~锛岃濉啓鏈湡搴︽暟",
- "required":false,
- "hasDefaultValue":false,
+ "code": "typeDesc",
+ "cnCode": "澶х被鎻忚堪",
+ "desc": "鍙~锛岃濉啓绫诲瀷鎻忚堪",
+ "required": false,
+ "hasDefaultValue": false,
"inputType": "input",
- "limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"鎻忚堪澶暱",
+ "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