From 2646433c86f6ca21839d12b6e43e3b6380438d3d Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期日, 26 四月 2020 23:09:49 +0800
Subject: [PATCH] 日志级别
---
java110-code-generator/src/main/resources/web/template_1.json | 139 ++++++++++++++++++++++------------------------
1 files changed, 67 insertions(+), 72 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 4a3bb74..fb8806f 100644
--- a/java110-code-generator/src/main/resources/web/template_1.json
+++ b/java110-code-generator/src/main/resources/web/template_1.json
@@ -1,132 +1,127 @@
{
- "templateName":"瀹℃牳涓氫富缁戝畾",
- "templateCode":"auditAppUserBindingOwner",
- "templateKey":"appUserId",
- "templateKeyName":"缁戝畾ID",
- "searchCode": "name",
- "searchName": "鍚嶇О",
+ "templateName":"鏃ц揣",
+ "templateCode":"junkRequirement",
+ "templateKey":"junkRequirementId",
+ "templateKeyName":"鏃ц揣缂栫爜",
+ "searchCode": "junkRequirementId",
+ "searchName": "鏃ц揣缂栫爜",
"conditions": [
{
- "name": "涓氫富鍚嶇О",
- "inputType": "input",
- "code": "appUserName",
+ "name": "绫诲埆",
+ "inputType": "select",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
+ "code": "classification",
"whereCondition": "equal"
},
{
- "name": "涓氫富韬唤璇�",
+ "name": "鍙戝竷浜�",
"inputType": "input",
- "code": "idCard",
+ "code": "publishUserName",
"whereCondition": "equal"
},
{
"name": "鐘舵��",
- "inputType": "input",
"inputType": "select",
- "selectValue":"10000,12000,13000",
- "selectValueName":"瀹℃牳涓�,瀹℃牳鎴愬姛,瀹℃牳澶辫触"
+ "selectValue":"12001,13001,14001,15001",
+ "selectValueName":"鏈鏍�,瀹℃牳閫氳繃,瀹℃牳澶辫触,澶勭悊瀹屾垚",
+ "code": "publishUserLink",
+ "whereCondition": "equal"
},
{
- "name": "涓氫富鎵嬫満",
+ "name": "鍙戝竷鐢佃瘽",
"inputType": "input",
- "code": "link",
+ "code": "publishUserLink",
"whereCondition": "equal"
}
],
"columns":[
{
- "code":"memberId",
- "cnCode":"涓氫富ID",
- "desc":"蹇呭~锛岃濉啓涓氫富ID",
+ "code":"classification",
+ "cnCode":"绫诲埆",
+ "desc":"蹇呭~锛岃閫夋嫨绫诲埆",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
+ "inputType": "select",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
+ "limit":"num",
+ "limitParam":"",
+ "limitErrInfo":"浠诲姟缂栫爜鏍煎紡閿欒",
+ "show": true
+ },
+ {
+ "code": "inspectionPlanId",
+ "cnCode":"宸℃璁″垝",
+ "desc":"蹇呭~锛岃濉啓鏀惰垂椤圭洰",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
"limit":"maxin",
- "limitParam":"1,64",
- "limitErrInfo":"涓氫富ID涓嶈兘瓒呰繃64浣�",
+ "limitParam":"1,100",
+ "limitErrInfo":"鏀惰垂椤圭洰涓嶈兘瓒呰繃100浣�",
"show": true
},
{
- "code": "communityId",
- "cnCode":"灏忓尯ID",
- "desc":"蹇呭~锛岃濉啓灏忓尯ID",
+ "code":"context",
+ "cnCode":"鍐呭",
+ "desc":"蹇呭~锛岃閫夋嫨鍐呭",
"required":true,
"hasDefaultValue":false,
"inputType": "input",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"灏忓尯ID鏍煎紡閿欒",
- "show": true
+ "limit":"maxLength",
+ "limitParam":"200",
+ "limitErrInfo":"鍐呭涓嶈兘瓒呰繃200涓瓧绗�",
+ "show": false
},
{
- "code": "communityName",
- "cnCode":"灏忓尯鍚嶇О",
- "desc":"蹇呭~锛岃濉啓灏忓尯鍚嶇О",
+ "code": "referencePrice",
+ "cnCode":"鍙傝�冧环鏍�",
+ "desc":"蹇呭~锛岃濉啓鍙傝�冧环鏍�",
"required":true,
"hasDefaultValue":false,
"inputType": "input",
- "limit":"num",
+ "limit":"money",
"limitParam":"",
- "limitErrInfo":"灏忓尯鍚嶇О鏍煎紡閿欒",
+ "limitErrInfo":"鍙傝�冧环鏍兼牸寮忛敊璇�",
"show": true
},
{
- "code": "appUserName",
- "cnCode":"鍏宠仈涓氫富",
- "desc":"蹇呭~锛岃濉啓涓氫富",
+ "code": "publishUserName",
+ "cnCode":"鍙戝竷浜�",
+ "desc":"蹇呭~锛屽彂甯冧汉涓嶈兘涓虹┖",
"required":true,
"hasDefaultValue":false,
"inputType": "input",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"鍏宠仈涓氫富鏍煎紡閿欒",
+ "limit":"maxLength",
+ "limitParam":"50",
+ "limitErrInfo":"鍙戝竷浜轰笉鑳借秴杩�50",
"show": true
},
{
- "code": "idCard",
- "cnCode":"韬唤璇�",
- "desc":"蹇呭~锛岃濉啓韬唤璇�",
+ "code":"publishUserLink",
+ "cnCode":"鑱旂郴鏂瑰紡",
+ "desc":"蹇呭~锛岃濉啓鑱旂郴鏂瑰紡",
"required":true,
"hasDefaultValue":false,
"inputType": "input",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"韬唤璇佷笉鏄湁鏁堟暟瀛�",
- "show": true
- },
- {
- "code":"link",
- "cnCode":"鎵嬫満鍙�",
- "desc":"蹇呭~锛岃濉啓鎵嬫満鍙�",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"input",
"limit":"phone",
"limitParam":"",
- "limitErrInfo":"鎵嬫満鍙蜂笉鏄湁鏁堢殑韬唤璇佸彿",
+ "limitErrInfo":"鑱旂郴鏂瑰紡涓嶆槸鏈夋晥鐨勭數璇濇牸寮�",
"show": true
},
{
- "code": "state",
+ "code":"state",
"cnCode":"鐘舵��",
"desc":"蹇呭~锛岃濉啓鐘舵��",
"required":true,
"hasDefaultValue":false,
- "inputType": "input",
- "limit":"dateTime",
+ "inputType": "select",
+ "selectValue":"12001,13001,14001,15001",
+ "selectValueName":"鏈鏍�,瀹℃牳閫氳繃,瀹℃牳澶辫触,澶勭悊瀹屾垚",
+ "limit":"num",
"limitParam":"",
- "limitErrInfo":"涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
- "show": true
- },
- {
- "code": "createTime",
- "cnCode":"鐢宠鏃堕棿",
- "desc":"蹇呭~锛岃閫夋嫨缁撴潫鏃堕棿",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"dateTime",
- "limitParam":"",
- "limitErrInfo":"涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
+ "limitErrInfo":"鐘舵�佹牸寮忛敊璇�",
"show": true
}
]
--
Gitblit v1.8.0