From a9193cfd5ae8d7fa7e0824b5f77e4deb72695dae Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 16 五月 2020 22:29:00 +0800
Subject: [PATCH] 合并代码
---
java110-code-generator/src/main/resources/web/template_1.json | 94 +++++++++++++++++++++++++++-------------------
1 files changed, 55 insertions(+), 39 deletions(-)
diff --git a/java110-code-generator/src/main/resources/web/template_1.json b/java110-code-generator/src/main/resources/web/template_1.json
index 149e445..f9c92a0 100644
--- a/java110-code-generator/src/main/resources/web/template_1.json
+++ b/java110-code-generator/src/main/resources/web/template_1.json
@@ -1,56 +1,72 @@
{
- "templateName":"鍏憡",
- "templateCode":"notice",
- "templateKey":"noticeId",
- "templateKeyName":"鍏憡ID",
+ "templateName":"灏忕▼搴忕鐞�",
+ "templateCode":"smallWeChat",
+ "templateKey":"weChatId",
+ "templateKeyName":"缂栫爜",
+ "searchCode": "name",
+ "searchName": "灏忕▼搴忓悕绉�",
+ "conditions": [
+ {
+ "name": "灏忕▼搴忓悕绉�",
+ "inputType": "input",
+ "code": "name",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "appId",
+ "inputType": "input",
+ "code": "appId",
+ "whereCondition": "equal"
+ }
+ ],
"columns":[
{
- "code":"title",
- "cnCode":"鏍囬",
- "desc":"蹇呭~锛岃濉啓鏍囬",
+ "code":"name",
+ "cnCode":"灏忕▼搴忓悕绉�",
+ "desc":"蹇呭~锛岃濉啓灏忕▼搴忓悕绉�",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
+ "inputType": "input",
+ "limit":"max",
+ "limitParam":"1,100",
+ "limitErrInfo":"灏忕▼搴忓悕绉颁笉鑳借秴杩�100浣�",
+ "show": true
+ },
+ {
+ "code": "appId",
+ "cnCode":"appId",
+ "desc":"蹇呭~锛岃濉啓appId",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
"limit":"maxin",
- "limitParam":"4,100",
- "limitErrInfo":"灏忓尯鍚嶇О蹇呴』鍦�4鑷�100瀛楃涔嬮棿"
+ "limitParam":"1,100",
+ "limitErrInfo":"appId涓嶈兘瓒呰繃100浣�",
+ "show": true
},
{
- "code":"noticeTypeCd",
- "cnCode":"鍏憡绫诲瀷",
- "desc":"蹇呭~锛岃閫夋嫨鍏憡绫诲瀷",
+ "code":"appSecret",
+ "cnCode":"搴旂敤瀵嗛挜",
+ "desc":"蹇呭~锛岃濉啓搴旂敤瀵嗛挜",
"required":true,
"hasDefaultValue":false,
- "inputType":"select",
- "selectValue":"1000,1001,1002",
- "selectValueName":"涓氫富閫氱煡,鍛樺伐閫氱煡,灏忓尯閫氱煡",
- "limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"鍏憡绫诲瀷閿欒"
+ "inputType": "input",
+ "limit":"maxin",
+ "limitParam":"1,200",
+ "limitErrInfo":"搴旂敤瀵嗛挜涓嶈兘瓒呰繃200涓瓧绗�",
+ "show": true
},
{
- "code":"context",
- "cnCode":"鍏憡鍐呭",
- "desc":"蹇呭~锛岃濉啓鍏憡鍐呭",
+ "code": "payPassword",
+ "cnCode":"鏀粯瀵嗙爜",
+ "desc":"蹇呭~锛岃濉啓鏀粯瀵嗙爜",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"500",
- "limitErrInfo":"鍏憡鍐呭涓嶈兘瓒呰繃500涓瓧"
- },
- {
- "code":"startTime",
- "cnCode":"寮�濮嬫椂闂�",
- "desc":"蹇呴�夛紝璇峰~鍐欏紑濮嬫椂闂� 2019-01-02",
- "required":true,
- "hasDefaultValue":false,
- "defaultValue":"",
- "inputType":"input",
- "limit":"date",
- "limitParam":"",
- "limitErrInfo":"寮�濮嬫椂闂翠笉鏄湁鏁堢殑鏃ュ織"
+ "inputType": "input",
+ "limit":"maxin",
+ "limitParam":"1,200",
+ "limitErrInfo":"鏀粯瀵嗙爜涓嶈兘瓒呰繃200涓瓧绗�",
+ "show": true
}
-
]
}
\ No newline at end of file
--
Gitblit v1.8.0